From 5c64cc6adb61c644278f19739733a062285846c1 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 13 May 2021 17:00:37 +0200 Subject: [PATCH] fix coverity CID 322519 --- client/src/cmdhfmfdes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhfmfdes.c b/client/src/cmdhfmfdes.c index f49b3f4d5..71122d201 100644 --- a/client/src/cmdhfmfdes.c +++ b/client/src/cmdhfmfdes.c @@ -3020,7 +3020,7 @@ static int CmdHF14ADesChangeValue(const char *Cmd) { swap32(value.value); if (value.fileno > 0x1F) { - PrintAndLogEx(ERR, "File number range is invalid (exp 0 - 31), got %d", fileno); + PrintAndLogEx(ERR, "File number range is invalid (exp 0 - 31), got %d", value.fileno); return PM3_EINVARG; }