From e182d12ba8c948fd1a1148e10b0c5dd12a20ef45 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 18 Mar 2018 21:49:48 +0100 Subject: [PATCH] chg: textual --- client/cmdtrace.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/cmdtrace.c b/client/cmdtrace.c index 7f23cbd67..526ab6e2e 100644 --- a/client/cmdtrace.c +++ b/client/cmdtrace.c @@ -588,7 +588,8 @@ int CmdTraceLoad(const char *Cmd) { fclose(f); return 1; } - fclose(f); + fclose(f); + PrintAndLogEx(SUCCESS, "Recorded Activity (TraceLen = %d bytes) loaded from file %s", traceLen, filename); return 0; } @@ -619,7 +620,7 @@ int CmdTraceSave(const char *Cmd) { fwrite(buf, 1, 2, f); fwrite(trace, 1, traceLen, f); fclose(f); - PrintAndLogEx(SUCCESS, "Recorded Activity (TraceLen = %d bytes) written to file %s", traceLen, filename); + PrintAndLogEx(SUCCESS, "Recorded Activity (TraceLen = %d bytes) written to file %s", traceLen, filename); return 0; }