format string

This commit is contained in:
iceman1001 2022-09-02 05:34:47 +02:00
parent b82feee002
commit 41f36199aa

View file

@ -1080,7 +1080,7 @@ static int CmdHF15ELoad(const char *Cmd) {
int tosend = MIN(chuncksize, bytes_read);
if (hf15EmlSetMem(data + offset, tosend, offset) != PM3_SUCCESS) {
PrintAndLogEx(FAILED, "Can't set emulator memory at offest: 0x%x", offset);
PrintAndLogEx(FAILED, "Can't set emulator memory at offest: %zu / 0x%zx", offset);
free(data);
return PM3_ESOFT;
}