summaryrefslogtreecommitdiff
path: root/src/core/dbus-automount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/dbus-automount.c')
-rw-r--r--src/core/dbus-automount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/dbus-automount.c b/src/core/dbus-automount.c
index 420cfaa331..8559aed0ed 100644
--- a/src/core/dbus-automount.c
+++ b/src/core/dbus-automount.c
@@ -29,8 +29,8 @@ static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_result, automount_result, Autom
const sd_bus_vtable bus_automount_vtable[] = {
SD_BUS_VTABLE_START(0),
- SD_BUS_PROPERTY("Where", "s", NULL, offsetof(Automount, where), 0),
- SD_BUS_PROPERTY("DirectoryMode", "u", bus_property_get_mode, offsetof(Automount, directory_mode), 0),
+ SD_BUS_PROPERTY("Where", "s", NULL, offsetof(Automount, where), SD_BUS_VTABLE_PROPERTY_CONST),
+ SD_BUS_PROPERTY("DirectoryMode", "u", bus_property_get_mode, offsetof(Automount, directory_mode), SD_BUS_VTABLE_PROPERTY_CONST),
SD_BUS_PROPERTY("Result", "s", property_get_result, offsetof(Automount, result), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
SD_BUS_VTABLE_END
};