X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fdbus-automount.c;h=eccad37e8b062f2876386f96066d5b05ac73e52e;hb=7c3b203c5c69fc37c8d143851cd395cbf8920786;hp=3bccb4e5f735df83e46679a6d03d5276178f7c13;hpb=c4e2ceae941d02de5574becbfd3b4db15de2eda3;p=elogind.git diff --git a/src/dbus-automount.c b/src/dbus-automount.c index 3bccb4e5f..eccad37e8 100644 --- a/src/dbus-automount.c +++ b/src/dbus-automount.c @@ -38,7 +38,11 @@ BUS_INTROSPECTABLE_INTERFACE \ "\n" -const char bus_automount_interface[] = BUS_AUTOMOUNT_INTERFACE; +#define INTERFACES_LIST \ + BUS_UNIT_INTERFACES_LIST \ + "org.freedesktop.systemd1.Automount\0" + +const char bus_automount_interface[] _introspect_("Automount") = BUS_AUTOMOUNT_INTERFACE; DBusHandlerResult bus_automount_message_handler(Unit *u, DBusConnection *c, DBusMessage *message) { const BusProperty properties[] = { @@ -48,5 +52,5 @@ DBusHandlerResult bus_automount_message_handler(Unit *u, DBusConnection *c, DBus { 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); }