From 67fbd6abbab180c20aa3c3ce942a5fa352e46913 Mon Sep 17 00:00:00 2001 From: Antiklesys Date: Fri, 20 Jun 2025 12:00:41 +0800 Subject: [PATCH] Update cmdhficlass.c Signed-off-by: Antiklesys --- client/src/cmdhficlass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhficlass.c b/client/src/cmdhficlass.c index b7e1fedc7..df13c5cea 100644 --- a/client/src/cmdhficlass.c +++ b/client/src/cmdhficlass.c @@ -6035,7 +6035,7 @@ static int CmdHFiClassSAM(const char *Cmd) { } else { //if it is an error decode it if (memcmp(d, "\xBE\x07\x80\x01", 4) == 0) { //if it the string is 0xbe 0x07 0x80 0x01 the next byte will indicate the error code - PrintAndLogEx(ERR,_RED_("Sam Error Code: %s"), d[4]); + PrintAndLogEx(ERR,_RED_("Sam Error Code: %02x"), d[4]); print_hex(d, resp.length); }else{