summaryrefslogtreecommitdiff
path: root/src/analyze
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-03-19 23:46:29 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-03-20 00:42:48 +0900
commitf37f8a61c0d5192bd9dc038d5996a41a6e940caf (patch)
tree63581f2103ae3e0faaa558209d126ff85875d365 /src/analyze
parent4f00a11c736b015f40f513b9349afb560791abdc (diff)
downloadsystemd-f37f8a61c0d5192bd9dc038d5996a41a6e940caf.tar.gz
bus-util: make bus_map_all_properties() not copy string
Diffstat (limited to 'src/analyze')
-rw-r--r--src/analyze/analyze.c2
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));