mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-22 05:00:29 +08:00
cov
This commit is contained in:
parent
6066d949af
commit
192a82a682
1 changed files with 2 additions and 2 deletions
|
@ -6394,7 +6394,7 @@ static int CmdHF14ADesReadData(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (resplen > 0) {
|
if (resplen > 0) {
|
||||||
PrintAndLogEx(SUCCESS, "Read %u bytes from file 0x%02x offset %u", resplen, fnum, offset);
|
PrintAndLogEx(SUCCESS, "Read %zu bytes from file 0x%02x offset %u", resplen, fnum, offset);
|
||||||
print_buffer_with_offset(resp, resplen, offset, true);
|
print_buffer_with_offset(resp, resplen, offset, true);
|
||||||
} else {
|
} else {
|
||||||
PrintAndLogEx(SUCCESS, "Read operation returned no data from file %d", fnum);
|
PrintAndLogEx(SUCCESS, "Read operation returned no data from file %d", fnum);
|
||||||
|
@ -6444,7 +6444,7 @@ static int CmdHF14ADesReadData(const char *Cmd) {
|
||||||
PrintAndLogEx(SUCCESS, "Lastest record at the bottom.");
|
PrintAndLogEx(SUCCESS, "Lastest record at the bottom.");
|
||||||
for (int i = 0; i < reccount; i++) {
|
for (int i = 0; i < reccount; i++) {
|
||||||
if (i != 0)
|
if (i != 0)
|
||||||
PrintAndLogEx(SUCCESS, "Record %d", reccount - (i + offset + 1));
|
PrintAndLogEx(SUCCESS, "Record %zu", reccount - (i + offset + 1));
|
||||||
print_buffer_with_offset(&resp[i * reclen], reclen, offset, (i == 0));
|
print_buffer_with_offset(&resp[i * reclen], reclen, offset, (i == 0));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue