From e1a0ed65ff6698296c245482be4cba4035f8ae14 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 4 Oct 2016 21:42:56 +0200 Subject: [PATCH] FIX: forgot a LEN in print message. --- client/cmdhflegic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdhflegic.c b/client/cmdhflegic.c index 4f06b96a..376ec40f 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 ){ @@ -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; -- 2.39.2