summaryrefslogtreecommitdiff
path: root/src/core/dbus-manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-21 20:18:59 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-21 21:12:36 +0100
commit21586b77de9bad401f245dd55b75cedb0c2e9b7c (patch)
tree14bca8c67e7cd74ae687369b39465995a36a2f3a /src/core/dbus-manager.c
parent86b8d289717bad2800342efca0a5023aa8374e9c (diff)
bus: properly serialize unit file change list
Diffstat (limited to 'src/core/dbus-manager.c')
-rw-r--r--src/core/dbus-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index d7936fff20..bc0c3109e3 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -1367,7 +1367,7 @@ static int reply_unit_file_changes_and_free(
for (i = 0; i < n_changes; i++) {
r = sd_bus_message_append(
- message, "(sss)",
+ reply, "(sss)",
unit_file_change_type_to_string(changes[i].type),
changes[i].path,
changes[i].source);
@@ -1379,7 +1379,7 @@ static int reply_unit_file_changes_and_free(
if (r < 0)
goto fail;
- return sd_bus_send(bus, message, NULL);
+ return sd_bus_send(bus, reply, NULL);
fail:
unit_file_changes_free(changes, n_changes);