diff --git a/client/loclass/fileutils.c b/client/loclass/fileutils.c index c18b2fa30..367b19c97 100644 --- a/client/loclass/fileutils.c +++ b/client/loclass/fileutils.c @@ -212,12 +212,12 @@ int saveFileJSON(const char *preferredName, const char *suffix, JSONFileType fty int res = json_dump_file(root, fileName, JSON_INDENT(2)); if (res) { - PrintAndLog("ERROR: can't save the file: %s", fileName); + PrintAndLogDevice(FAILED, "error: can't save the file: %s", fileName); json_decref(root); retval = 200; goto out; } - PrintAndLog("File `%s` saved.", fileName); + PrintAndLogDevice(SUCCESS, "File `%s` saved.", fileName); json_decref(root);