fix wrong fix

This commit is contained in:
Philippe Teuwen 2019-10-06 00:17:32 +02:00
parent 4ae8a3d86b
commit 78c153fe74

View file

@ -665,7 +665,7 @@ static int CmdTraceLoad(const char *Cmd) {
size_t bytes_read = fread(trace, 1, fsize, f); size_t bytes_read = fread(trace, 1, fsize, f);
traceLen = bytes_read; traceLen = bytes_read;
fclose(f); fclose(f);
PrintAndLogEx(SUCCESS, "Recorded Activity (TraceLen = %l bytes) loaded from file %s", traceLen, filename); PrintAndLogEx(SUCCESS, "Recorded Activity (TraceLen = %lu bytes) loaded from file %s", traceLen, filename);
return 0; return 0;
} }
@ -815,7 +815,7 @@ int CmdTraceList(const char *Cmd) {
} }
} }
PrintAndLogEx(SUCCESS, "Recorded Activity (TraceLen = %l bytes)", traceLen); PrintAndLogEx(SUCCESS, "Recorded Activity (TraceLen = %lu bytes)", traceLen);
PrintAndLogEx(INFO, ""); PrintAndLogEx(INFO, "");
if (protocol == FELICA) { if (protocol == FELICA) {
printFelica(traceLen, trace); printFelica(traceLen, trace);