diff options
Diffstat (limited to 'src/dbus-device.c')
-rw-r--r-- | src/dbus-device.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dbus-device.c b/src/dbus-device.c index 9b2861de45..b046eae9f7 100644 --- a/src/dbus-device.c +++ b/src/dbus-device.c @@ -37,6 +37,10 @@ BUS_INTROSPECTABLE_INTERFACE \ "</node>\n" +#define INTERFACES_LIST \ + BUS_UNIT_INTERFACES_LIST \ + "org.freedesktop.systemd1.Device\0" + const char bus_device_interface[] _introspect_("Device") = BUS_DEVICE_INTERFACE; const char bus_device_invalidating_properties[] = @@ -49,5 +53,5 @@ DBusHandlerResult bus_device_message_handler(Unit *u, DBusConnection *c, DBusMes { NULL, NULL, NULL, NULL, NULL } }; - return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, properties); + return bus_default_message_handler(u->meta.manager, c, message, INTROSPECTION, INTERFACES_LIST, properties); } |