mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Keep string syntax in color macros
This commit is contained in:
parent
48124f89b4
commit
da6cdf014b
24 changed files with 144 additions and 144 deletions
|
@ -654,7 +654,7 @@ int CmdHFiClassELoad(const char *Cmd)
|
|||
|
||||
FILE *f = fopen(filename, "rb");
|
||||
if (!f) {
|
||||
PrintAndLogEx(FAILED, "File: " _YELLOW_( % s) ": not found or locked.", filename);
|
||||
PrintAndLogEx(FAILED, "File: " _YELLOW_("%s") ": not found or locked.", filename);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -2325,7 +2325,7 @@ int LoadDictionaryKeyFile(char *filename, uint8_t **keys, int *keycnt)
|
|||
int keyitems = 0;
|
||||
|
||||
if (!(f = fopen(filename, "r"))) {
|
||||
PrintAndLogEx(FAILED, "File: " _YELLOW_( % s) ": not found or locked.", filename);
|
||||
PrintAndLogEx(FAILED, "File: " _YELLOW_("%s") ": not found or locked.", filename);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -2363,7 +2363,7 @@ int LoadDictionaryKeyFile(char *filename, uint8_t **keys, int *keycnt)
|
|||
memset(buf, 0, sizeof(buf));
|
||||
}
|
||||
fclose(f);
|
||||
PrintAndLogEx(SUCCESS, "Loaded " _GREEN_( % 2d) " keys from %s", *keycnt, filename);
|
||||
PrintAndLogEx(SUCCESS, "Loaded " _GREEN_("%2d") " keys from %s", *keycnt, filename);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue