mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-17 18:50:32 +08:00
style
This commit is contained in:
parent
ffdfe09659
commit
4be92f129a
2 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
void cmd_debug(UsbCommand *c) {
|
void cmd_debug(UsbCommand *c) {
|
||||||
// Debug
|
// Debug
|
||||||
printf("UsbCommand length[len=%zd]\n", sizeof(UsbCommand));
|
printf("UsbCommand length[len=%zu]\n", sizeof(UsbCommand));
|
||||||
printf(" cmd[len=%zu]: %016" PRIx64"\n", sizeof(c->cmd), c->cmd);
|
printf(" cmd[len=%zu]: %016" PRIx64"\n", sizeof(c->cmd), c->cmd);
|
||||||
printf(" arg0[len=%zu]: %016" PRIx64"\n", sizeof(c->arg[0]), c->arg[0]);
|
printf(" arg0[len=%zu]: %016" PRIx64"\n", sizeof(c->arg[0]), c->arg[0]);
|
||||||
printf(" arg1[len=%zu]: %016" PRIx64"\n", sizeof(c->arg[1]), c->arg[1]);
|
printf(" arg1[len=%zu]: %016" PRIx64"\n", sizeof(c->arg[1]), c->arg[1]);
|
||||||
|
|
|
@ -98,12 +98,12 @@ int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile, bool hardn
|
||||||
#if __WORDSIZE == 64
|
#if __WORDSIZE == 64
|
||||||
"Input file too big (> %" PRIu64 " bytes). This is probably not a hardnested bitflip state table.\n"
|
"Input file too big (> %" PRIu64 " bytes). This is probably not a hardnested bitflip state table.\n"
|
||||||
#else
|
#else
|
||||||
"Input file too big (> %lu bytes). This is probably not a hardnested bitflip state table.\n"
|
"Input file too big (> %zu bytes). This is probably not a hardnested bitflip state table.\n"
|
||||||
#endif
|
#endif
|
||||||
, HARDNESTED_TABLE_SIZE);
|
, HARDNESTED_TABLE_SIZE);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "Input files too big (total > %lu bytes). These are probably not PM3 FPGA config files.\n", num_infiles * FPGA_CONFIG_SIZE);
|
fprintf(stderr, "Input files too big (total > %zu bytes). These are probably not PM3 FPGA config files.\n", num_infiles * FPGA_CONFIG_SIZE);
|
||||||
}
|
}
|
||||||
for (uint16_t j = 0; j < num_infiles; j++) {
|
for (uint16_t j = 0; j < num_infiles; j++) {
|
||||||
fclose(infile[j]);
|
fclose(infile[j]);
|
||||||
|
|
Loading…
Reference in a new issue