From 9e9d8ddbdea1d656041071b34b410bb2a4fae03a Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 20 Oct 2022 17:31:23 +0200 Subject: [PATCH] style --- client/src/mifare/mad.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/mifare/mad.c b/client/src/mifare/mad.c index 0cb9df47c..2d2ab8c8a 100644 --- a/client/src/mifare/mad.c +++ b/client/src/mifare/mad.c @@ -214,7 +214,7 @@ int MADCheck(uint8_t *sector0, uint8_t *sector10, bool verbose, bool *haveMAD2) int res = madCRCCheck(sector0, true, 1); if (verbose && res == PM3_SUCCESS) - PrintAndLogEx(SUCCESS, "%14s " _GREEN_("0x%02x") " (%s)", "CRC8", sector0[16], _GREEN_("ok")); + PrintAndLogEx(SUCCESS, "%14s " _GREEN_("0x%02x") " ( %s )", "CRC8", sector0[16], _GREEN_("ok")); if (mad_ver == 2 && sector10) { int res2 = madCRCCheck(sector10, true, 2); @@ -222,7 +222,7 @@ int MADCheck(uint8_t *sector0, uint8_t *sector10, bool verbose, bool *haveMAD2) res = res2; if (verbose && !res2) - PrintAndLogEx(SUCCESS, "%14s " _GREEN_("0x%02x") " (%s)", "CRC8", sector10[0], _GREEN_("ok")); + PrintAndLogEx(SUCCESS, "%14s " _GREEN_("0x%02x") " ( %s )", "CRC8", sector10[0], _GREEN_("ok")); } // MA (multi-application card) @@ -354,9 +354,9 @@ int MAD2DecodeAndPrint(uint8_t *sector, bool swapmad, bool verbose) { int res = madCRCCheck(sector, true, 2); if (verbose) { if (res == PM3_SUCCESS) - PrintAndLogEx(SUCCESS, "CRC8 (%s)", _GREEN_("ok")); + PrintAndLogEx(SUCCESS, "CRC8 ( %s )", _GREEN_("ok")); else - PrintAndLogEx(WARNING, "CRC8 (%s)", _RED_("fail")); + PrintAndLogEx(WARNING, "CRC8 ( %s )", _RED_("fail")); } int ibs = MADInfoByteDecode(sector, swapmad, 2, verbose);