X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/1daa1226fd76500a2e0be384195f30229bf7dfef..2715eb5fcf75ddcde9aec4ed7f6aea0e8d82029e:/client/cmdhflegic.c diff --git a/client/cmdhflegic.c b/client/cmdhflegic.c index 4f06b96a..6b880da6 100644 --- a/client/cmdhflegic.c +++ b/client/cmdhflegic.c @@ -400,7 +400,7 @@ int CmdLegicRFRead(const char *Cmd) { // OUT-OF-BOUNDS check if ( len + offset > MAX_LENGTH ) { len = MAX_LENGTH - offset; - PrintAndLog("Out-of-bound, shorten len to %d (0x%02X)", len); + PrintAndLog("Out-of-bound, shorten len to %d (0x%02X)", len, len); } if ( (IV & 0x7F) != IV ){ @@ -440,8 +440,8 @@ int CmdLegicRFRead(const char *Cmd) { return 1; } - PrintAndLog("\nData"); - PrintAndLog("-----------------------------"); + PrintAndLog("\n ## | Data"); + PrintAndLog("-----+-----"); print_hex_break( data, readlen, 32); } else { PrintAndLog("failed reading tag"); @@ -614,7 +614,7 @@ int CmdLegicRfWrite(const char *Cmd) { // OUT-OF-BOUNDS check if ( len + offset > MAX_LENGTH ) { len = MAX_LENGTH - offset; - PrintAndLog("Out-of-bound, shorten len to %d (0x%02X)", len); + PrintAndLog("Out-of-bound, shorten len to %d (0x%02X)", len, len); } if ( (IV & 0x7F) != IV ){ IV &= 0x7F;