tweak messages

This commit is contained in:
Brian Pow 2018-02-21 18:45:18 +08:00
parent 43ec321e53
commit 858224244d

View file

@ -938,7 +938,7 @@ int CmdLegicDump(const char *Cmd){
f = fopen(filename,"wb"); f = fopen(filename,"wb");
if (!f) { if (!f) {
PrintAndLogEx(NORMAL, "Could not create file name %s", filename); PrintAndLogEx(WARNING, "Could not create file name %s", filename);
if (data) if (data)
free(data); free(data);
return 5; return 5;
@ -1185,7 +1185,7 @@ int CmdLegicESave(const char *Cmd) {
// open file // open file
f = fopen(filename,"wb"); f = fopen(filename,"wb");
if (!f) { if (!f) {
PrintAndLogEx(NORMAL, "Could not create file name %s", filename); PrintAndLogEx(WARNING, "Could not create file name %s", filename);
free(data); free(data);
return 1; return 1;
} }