summaryrefslogtreecommitdiff
path: root/src/core/dbus-execute.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-12-14 17:52:31 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-15 14:15:55 +0900
commitb205e59ad49aa0ea69496c43ffbc467299e85d21 (patch)
treec25f085e760ac64a386ed314c66266e09b1772f2 /src/core/dbus-execute.c
parent6c6eb219d5cdecaf550e4e0825980dff9ed696a7 (diff)
downloadsystemd-b205e59ad49aa0ea69496c43ffbc467299e85d21.tar.gz
mountpoint-util: rename mount_propagation_flags_to_string() and friends as singular
Diffstat (limited to 'src/core/dbus-execute.c')
-rw-r--r--src/core/dbus-execute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c
index c5a51bf5cd..4b41cfe778 100644
--- a/src/core/dbus-execute.c
+++ b/src/core/dbus-execute.c
@@ -1599,11 +1599,11 @@ static int parse_personality(const char *s, unsigned long *p) {
return 0;
}
-static const char* mount_propagation_flags_to_string_with_check(unsigned long n) {
+static const char* mount_propagation_flag_to_string_with_check(unsigned long n) {
if (!IN_SET(n, 0, MS_SHARED, MS_PRIVATE, MS_SLAVE))
return NULL;
- return mount_propagation_flags_to_string(n);
+ return mount_propagation_flag_to_string(n);
}
static BUS_DEFINE_SET_TRANSIENT(nsec, "t", uint64_t, nsec_t, NSEC_FMT);
@@ -1624,7 +1624,7 @@ static BUS_DEFINE_SET_TRANSIENT_PARSE_PTR(personality, unsigned long, parse_pers
static BUS_DEFINE_SET_TRANSIENT_TO_STRING_ALLOC(secure_bits, "i", int32_t, int, "%" PRIi32, secure_bits_to_string_alloc_with_check);
static BUS_DEFINE_SET_TRANSIENT_TO_STRING_ALLOC(capability, "t", uint64_t, uint64_t, "%" PRIu64, capability_set_to_string_alloc);
static BUS_DEFINE_SET_TRANSIENT_TO_STRING_ALLOC(namespace_flag, "t", uint64_t, unsigned long, "%" PRIu64, namespace_flags_to_string);
-static BUS_DEFINE_SET_TRANSIENT_TO_STRING(mount_flags, "t", uint64_t, unsigned long, "%" PRIu64, mount_propagation_flags_to_string_with_check);
+static BUS_DEFINE_SET_TRANSIENT_TO_STRING(mount_flags, "t", uint64_t, unsigned long, "%" PRIu64, mount_propagation_flag_to_string_with_check);
int bus_exec_context_set_transient_property(
Unit *u,