summaryrefslogtreecommitdiff
path: root/src/dbus-mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus-mount.c')
-rw-r--r--src/dbus-mount.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dbus-mount.c b/src/dbus-mount.c
index e3a793d194..5fb9a3f071 100644
--- a/src/dbus-mount.c
+++ b/src/dbus-mount.c
@@ -50,6 +50,10 @@
BUS_INTROSPECTABLE_INTERFACE \
"</node>\n"
+#define INTERFACES_LIST \
+ BUS_UNIT_INTERFACES_LIST \
+ "org.freedesktop.systemd1.Mount\0"
+
const char bus_mount_interface[] _introspect_("Mount") = BUS_MOUNT_INTERFACE;
const char bus_mount_invalidating_properties[] =
@@ -150,5 +154,5 @@ DBusHandlerResult bus_mount_message_handler(Unit *u, DBusConnection *c, DBusMess
{ 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);
}