From 0759f886f4b7ab7baf9a42a151ef4806ce4c6cee Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 28 Apr 2020 14:33:45 +0200 Subject: [PATCH] coverity fix 286923 --- 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 3504c85f2..22735f46b 100644 --- a/client/src/cmdhfmfdes.c +++ b/client/src/cmdhfmfdes.c @@ -2220,7 +2220,7 @@ static int CmdHF14ADesGetValueData(const char *Cmd) { int len = 0; res = handler_desfire_getvalue(&value, &len); if (res == PM3_SUCCESS) { - PrintAndLogEx(SUCCESS, "Successfully read value from File %u:", fileno); + PrintAndLogEx(SUCCESS, "Successfully read value from File %u:", fileno[0]); PrintAndLogEx(NORMAL, "\nOffset | Data | Ascii"); PrintAndLogEx(NORMAL, "----------------------------------------------------------------------------"); for (int i = 0; i < len; i += 16) {