From e0fc80c539c9579805ae209410fbda80f428e7ce Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 20 Jun 2021 08:01:01 +0200 Subject: [PATCH] fix coverity CID 349315 --- client/src/cmdhfcipurse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/cmdhfcipurse.c b/client/src/cmdhfcipurse.c index bc1651b6a..6fb3d42a3 100644 --- a/client/src/cmdhfcipurse.c +++ b/client/src/cmdhfcipurse.c @@ -73,7 +73,7 @@ static int CmdHFCipurseInfo(const char *Cmd) { return PM3_SUCCESS; } - PrintAndLogEx(INFO, "Cipurse card: " _GREEN_("OK")); + PrintAndLogEx(INFO, "Cipurse card ( " _GREEN_("ok") " )"); res = CIPURSESelectFile(0x2ff7, buf, sizeof(buf), &len, &sw); if (res != 0 || sw != 0x9000) { @@ -88,8 +88,8 @@ static int CmdHFCipurseInfo(const char *Cmd) { } if (len > 0) { - PrintAndLogEx(INFO, "Info file: " _GREEN_("OK")); - PrintAndLogEx(INFO, "[%d]: %s", len, sprint_hex(buf, len)); + PrintAndLogEx(INFO, "Info file ( " _GREEN_("ok") " )"); + PrintAndLogEx(INFO, "[%zu]: %s", len, sprint_hex(buf, len)); CIPURSEPrintInfoFile(buf, len); }