summaryrefslogtreecommitdiff
path: root/src/dbus-path.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-19 03:04:04 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-19 03:04:04 +0200
commit5e8d1c9a9f15b7453474dc4879bdb4021c3f50a1 (patch)
treeff305b07ce88ea21de22fc86b53c246e40d857c1 /src/dbus-path.c
parentf9704703f35a281d9f8fa12018bd396b2be30d36 (diff)
dbus: to make sure that systemd stays controllable during early bootup, register our services on our own micro usb server in addition to the bus
Diffstat (limited to 'src/dbus-path.c')
-rw-r--r--src/dbus-path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-path.c b/src/dbus-path.c
index ed1dc265fc..7589f5bc5b 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);
}