coverity fix 286664
This commit is contained in:
1 parent
6a55330398
commit
25c94177f8
1 file changed
+2
-2
@@ -138,7 +138,7 @@ int preferences_save(void) {
|
||||
|
||||
if (fileExists(fn)) {
|
||||
if (rename(fn, backupFilename) != 0) {
|
||||
PrintAndLogEx(FAILED, "Error - could not backup settings file \"%s\" to \"%s\"", prefGetFilename(), backupFilename);
|
||||
PrintAndLogEx(FAILED, "Error - could not backup settings file \"%s\" to \"%s\"", fn, backupFilename);
|
||||
free(fn);
|
||||
free(backupFilename);
|
||||
return PM3_ESOFT;
|
||||
@@ -927,7 +927,7 @@ static int CmdPrefShow(const char *Cmd) {
|
||||
return PM3_ESOFT;
|
||||
}
|
||||
|
||||
// PrintAndLogEx(NORMAL, " preference file........ "_GREEN_("%s"), prefGetFilename());
|
||||
// PrintAndLogEx(NORMAL, " preference file........ "_GREEN_("%s"), fn);
|
||||
showEmojiState(prefShowNone);
|
||||
showHintsState(prefShowNone);
|
||||
showColorState(prefShowNone);
|
||||
|
||||
Reference in new issue
Block a user