From 259dbadbe904bd1de45932a167509dba33cff6f2 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 2 Dec 2018 10:05:31 +0100 Subject: [PATCH] chg: output unified --- client/loclass/fileutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);