From 4d67f56656d5d3268bcd2b15ccaddd59b80c4e78 Mon Sep 17 00:00:00 2001 From: Henry Gabryjelski Date: Fri, 10 Jan 2025 12:12:24 -0800 Subject: [PATCH] Mismatched format string specifier (need to deref size pointer) --- client/src/cmdlfem410x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdlfem410x.c b/client/src/cmdlfem410x.c index 5abbbd4d3..ecb252ffc 100644 --- a/client/src/cmdlfem410x.c +++ b/client/src/cmdlfem410x.c @@ -245,7 +245,7 @@ static int ask_em410x_binary_decode(bool verbose, uint32_t *hi, uint64_t *lo, ui else if (ans == -4) PrintAndLogEx(DEBUG, "DEBUG: Error - Em410x preamble not found"); else if (ans == -5) - PrintAndLogEx(DEBUG, "DEBUG: Error - Em410x Size not correct: %zu", size); + PrintAndLogEx(DEBUG, "DEBUG: Error - Em410x Size not correct: %zu", *size); else if (ans == -6) PrintAndLogEx(DEBUG, "DEBUG: Error - Em410x parity failed");