mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-21 15:43:39 +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] = { "", "[+] ", "[=] ", "[-] ", "[!] ", "[!!] ", "[#] "};
|
static char *prefixes[7] = { "", "[+] ", "[=] ", "[-] ", "[!] ", "[!!] ", "[#] "};
|
||||||
|
|
||||||
switch( level ) {
|
switch( level ) {
|
||||||
|
case ERR:
|
||||||
|
strncpy(prefix,_RED_([!!] ), sizeof(prefix)-1);
|
||||||
|
break;
|
||||||
case FAILED:
|
case FAILED:
|
||||||
strncpy(prefix,_RED_([-] ), sizeof(prefix)-1);
|
strncpy(prefix,_RED_([-] ), sizeof(prefix)-1);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue