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:
parent
afa879c3b4
commit
b2bdf6e456
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user