summaryrefslogtreecommitdiff
path: root/src/dbus-automount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus-automount.c')
-rw-r--r--src/dbus-automount.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dbus-automount.c b/src/dbus-automount.c
index af277af39c..eccad37e8b 100644
--- a/src/dbus-automount.c
+++ b/src/dbus-automount.c
@@ -38,6 +38,10 @@
BUS_INTROSPECTABLE_INTERFACE \
"</node>\n"
+#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) {
@@ -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);
}