mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-25 08:35:56 +08:00
fix coverity CID 349315
This commit is contained in:
parent
b17a311c66
commit
e0fc80c539
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue