X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fdbus-mount.c;h=5fb9a3f0713092c6ac65eddcb32ffd255f057ada;hp=fa319febd59cc761506ce8db7505f3337a1f50c5;hb=3d57c6ab801f4437f12948e29589e3d00c3ad9db;hpb=9a60da2834074d970ca063c210fe9d2f05c70532 diff --git a/src/dbus-mount.c b/src/dbus-mount.c index fa319febd..5fb9a3f07 100644 --- a/src/dbus-mount.c +++ b/src/dbus-mount.c @@ -50,6 +50,10 @@ BUS_INTROSPECTABLE_INTERFACE \ "\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[] = @@ -59,8 +63,7 @@ const char bus_mount_invalidating_properties[] = "ExecMount\0" "ExecUnmount\0" "ExecRemount\0" - "ControlPID\0" - "\0"; + "ControlPID\0"; static int bus_mount_append_what(Manager *n, DBusMessageIter *i, const char *property, void *data) { Mount *m = data; @@ -151,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); }