mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
fix: remove warning..
This commit is contained in:
parent
07d7b9424c
commit
c025e38d91
1 changed files with 2 additions and 1 deletions
|
@ -546,8 +546,9 @@ int bruteforceFile(const char *filename, uint16_t keytable[]) {
|
||||||
|
|
||||||
if (f) fclose(f);
|
if (f) fclose(f);
|
||||||
|
|
||||||
if (bytes_read < fsize)
|
if (bytes_read < fsize) {
|
||||||
prnlog("[!] Error, could only read %d bytes (should be %d)", bytes_read, fsize );
|
prnlog("[!] Error, could only read %d bytes (should be %d)", bytes_read, fsize );
|
||||||
|
}
|
||||||
|
|
||||||
uint8_t res = bruteforceDump(dump, fsize, keytable);
|
uint8_t res = bruteforceDump(dump, fsize, keytable);
|
||||||
free(dump);
|
free(dump);
|
||||||
|
|
Loading…
Reference in a new issue