format string

This commit is contained in:
iceman1001 2020-05-20 14:15:35 +02:00
commit 56bde13110
2 changed files with 4 additions and 4 deletions

View file

@ -4002,21 +4002,21 @@ static int CmdHF14aDesChk(const char *Cmd) {
PrintAndLogEx(ERR, "Aes key list is empty. Nothing to check."); PrintAndLogEx(ERR, "Aes key list is empty. Nothing to check.");
return PM3_EINVARG; return PM3_EINVARG;
} else { } else {
PrintAndLogEx(INFO, "Loaded " _YELLOW_("%zu") " aes keys", aeskeyListLen); PrintAndLogEx(INFO, "Loaded " _YELLOW_("%"PRIu32) " aes keys", aeskeyListLen);
} }
if (deskeyListLen == 0) { if (deskeyListLen == 0) {
PrintAndLogEx(ERR, "Des key list is empty. Nothing to check."); PrintAndLogEx(ERR, "Des key list is empty. Nothing to check.");
return PM3_EINVARG; return PM3_EINVARG;
} else { } else {
PrintAndLogEx(INFO, "Loaded " _YELLOW_("%zu") " des keys", deskeyListLen); PrintAndLogEx(INFO, "Loaded " _YELLOW_("%"PRIu32) " des keys", deskeyListLen);
} }
if (k3kkeyListLen == 0) { if (k3kkeyListLen == 0) {
PrintAndLogEx(ERR, "K3k key list is empty. Nothing to check."); PrintAndLogEx(ERR, "K3k key list is empty. Nothing to check.");
return PM3_EINVARG; return PM3_EINVARG;
} else { } else {
PrintAndLogEx(INFO, "Loaded " _YELLOW_("%zu") " k3kdes keys", k3kkeyListLen); PrintAndLogEx(INFO, "Loaded " _YELLOW_("%"PRIu32) " k3kdes keys", k3kkeyListLen);
} }
if (!verbose) if (!verbose)

View file

@ -1191,7 +1191,7 @@ static int CmdHFMFPChk(const char *Cmd) {
PrintAndLogEx(ERR, "Key list is empty. Nothing to check."); PrintAndLogEx(ERR, "Key list is empty. Nothing to check.");
return PM3_EINVARG; return PM3_EINVARG;
} else { } else {
PrintAndLogEx(INFO, "Loaded " _YELLOW_("%zu") " keys", keyListLen); PrintAndLogEx(INFO, "Loaded " _YELLOW_("%"PRIu32) " keys", keyListLen);
} }
if (!verbose) if (!verbose)