fix coverity CID 349314

This commit is contained in:
iceman1001 2021-06-20 08:02:33 +02:00
parent e0fc80c539
commit ea80ea21ad

View file

@ -285,7 +285,7 @@ static int CmdHFCipurseReadFile(const char *Cmd) {
}
if (verbose)
PrintAndLogEx(INFO, "File id: %x offset %d key id: %d key: %s", fileId, offset, keyId, sprint_hex(key, CIPURSE_AES_KEY_LENGTH));
PrintAndLogEx(INFO, "File id " _YELLOW_("%x") " offset " _YELLOW_("%zu") " key id " _YELLOW_("%d") " key " _YELLOW_("%s"), fileId, offset, keyId, sprint_hex(key, CIPURSE_AES_KEY_LENGTH));
if (noAuth == false) {
bool bres = CIPURSEChannelAuthenticate(keyId, key, verbose);