diff options
Diffstat (limited to 'src/dbus-snapshot.c')
-rw-r--r-- | src/dbus-snapshot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dbus-snapshot.c b/src/dbus-snapshot.c index 15e51f032e..5ba5d7c8d8 100644 --- a/src/dbus-snapshot.c +++ b/src/dbus-snapshot.c @@ -39,7 +39,7 @@ const char bus_snapshot_interface[] = BUS_SNAPSHOT_INTERFACE; -DBusHandlerResult bus_snapshot_message_handler(Unit *u, DBusMessage *message) { +DBusHandlerResult bus_snapshot_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) { const BusProperty properties[] = { BUS_UNIT_PROPERTIES, { "org.freedesktop.systemd1.Snapshot", "Cleanup", bus_property_append_bool, "b", &u->snapshot.cleanup }, @@ -59,10 +59,10 @@ DBusHandlerResult bus_snapshot_message_handler(Unit *u, DBusMessage *message) { goto oom; } else - return bus_default_message_handler(u->meta.manager, message, INTROSPECTION, properties); + return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, properties); if (reply) { - if (!dbus_connection_send(u->meta.manager->api_bus, reply, NULL)) + if (!dbus_connection_send(c, reply, NULL)) goto oom; dbus_message_unref(reply); |