mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-20 23:20:12 +08:00
CHG: coloring of ERR
This commit is contained in:
parent
4ef59c3771
commit
94e0d43502
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ void PrintAndLogEx(logLevel_t level, char *fmt, ...) {
|
|||
static char *prefixes[7] = { "", "[+] ", "[=] ", "[-] ", "[!] ", "[!!] ", "[#] "};
|
||||
|
||||
switch( level ) {
|
||||
case ERR:
|
||||
strncpy(prefix,_RED_([!!] ), sizeof(prefix)-1);
|
||||
break;
|
||||
case FAILED:
|
||||
strncpy(prefix,_RED_([-] ), sizeof(prefix)-1);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue