This commit is contained in:
iceman1001 2018-01-05 17:42:21 +01:00
parent 0fda0329eb
commit 9a8331b882

View file

@ -568,7 +568,7 @@ int loadTraceCard(uint8_t *tuid, uint8_t uidlen) {
memset(buf, 0, sizeof(buf));
if (fgets(buf, sizeof(buf), f) == NULL) {
PrintAndLog("No trace file found or reading error.");
PrintAndLog("[-] No trace file found or reading error.");
if (f) {
fclose(f);
}
@ -577,7 +577,7 @@ int loadTraceCard(uint8_t *tuid, uint8_t uidlen) {
if (strlen(buf) < 32){
if (feof(f)) break;
PrintAndLog("File content error. Block data must include 32 HEX symbols");
PrintAndLog("[-] File content error. Block data must include 32 HEX symbols");
if (f) {
fclose(f);
}