]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: forgot a LEN in print message.
authoriceman1001 <iceman@iuse.se>
Tue, 4 Oct 2016 19:42:56 +0000 (21:42 +0200)
committericeman1001 <iceman@iuse.se>
Tue, 4 Oct 2016 19:42:56 +0000 (21:42 +0200)
client/cmdhflegic.c

index 4f06b96adf2ebf97917b27d5d1a0a4ac52b51efc..376ec40fbaea427ad68fe4795b849a0aad326422 100644 (file)
@@ -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 ){
@@ -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;
Impressum, Datenschutz