1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-27 03:21:32 +03:00

json: make log message more focussed

This commit is contained in:
Lennart Poettering 2019-04-23 15:26:09 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent afa879c3b4
commit b2bdf6e456

View File

@ -3421,7 +3421,7 @@ int json_dispatch_strv(const char *name, JsonVariant *variant, JsonDispatchFlags
r = strv_extend(&l, json_variant_string(e));
if (r < 0)
return json_log(variant, flags, r, "Failed to append array element: %m");
return json_log(e, flags, r, "Failed to append array element: %m");
}
strv_free_and_replace(*s, l);