diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-03-19 23:46:29 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-03-20 00:42:48 +0900 |
commit | f37f8a61c0d5192bd9dc038d5996a41a6e940caf (patch) | |
tree | 63581f2103ae3e0faaa558209d126ff85875d365 /src/analyze | |
parent | 4f00a11c736b015f40f513b9349afb560791abdc (diff) | |
download | systemd-f37f8a61c0d5192bd9dc038d5996a41a6e940caf.tar.gz |
bus-util: make bus_map_all_properties() not copy string
Diffstat (limited to 'src/analyze')
-rw-r--r-- | src/analyze/analyze.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 1bed16e219..22f634ac5c 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -474,6 +474,7 @@ static int acquire_host_info(sd_bus *bus, struct host_info **hi) { "/org/freedesktop/hostname1", hostname_map, &error, + NULL, host); if (r < 0) log_debug_errno(r, "Failed to get host information from systemd-hostnamed: %s", bus_error_message(&error, r)); @@ -483,6 +484,7 @@ static int acquire_host_info(sd_bus *bus, struct host_info **hi) { "/org/freedesktop/systemd1", manager_map, &error, + NULL, host); if (r < 0) return log_error_errno(r, "Failed to get host information from systemd: %s", bus_error_message(&error, r)); |