X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fdbus-path.c;h=7589f5bc5be06e99876d3fecf5be02cf2a8c2954;hb=f9378423b9758861850748aeb49ae0d3300e56e6;hp=ed1dc265fc67271abc76c99e754a7ffaee81bd35;hpb=01f78473b104d28db0fa813414092bc6358ae521;p=elogind.git diff --git a/src/dbus-path.c b/src/dbus-path.c index ed1dc265f..7589f5bc5 100644 --- a/src/dbus-path.c +++ b/src/dbus-path.c @@ -41,12 +41,12 @@ const char bus_path_interface[] = BUS_PATH_INTERFACE; -DBusHandlerResult bus_path_message_handler(Unit *u, DBusMessage *message) { +DBusHandlerResult bus_path_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) { const BusProperty properties[] = { BUS_UNIT_PROPERTIES, { "org.freedesktop.systemd1.Path", "Unit", bus_property_append_string, "s", &u->path.unit->meta.id }, { NULL, NULL, NULL, NULL, NULL } }; - return bus_default_message_handler(u->meta.manager, message, INTROSPECTION, properties); + return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, properties); }