coverity 226425 - printf

This commit is contained in:
iceman1001 2019-10-09 14:21:09 +02:00
parent be51e98d7c
commit f1b15d8e07

View file

@ -76,7 +76,7 @@ int JsonSaveJsonObject(json_t *root, const char *path, json_t *value) {
if (path[0] == '$') {
if (json_path_set(root, path, value, 0, &error)) {
PrintAndLogEx(ERR, "ERROR: can't set json path: ", error.text);
PrintAndLogEx(ERR, "ERROR: can't set json path: %s", error.text);
return 2;
} else {
return 0;