summaryrefslogtreecommitdiffstats
path: root/src/basic/mountpoint-util.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-12-14 09:52:31 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-12-15 06:15:55 +0100
commitb205e59ad49aa0ea69496c43ffbc467299e85d21 (patch)
treec25f085e760ac64a386ed314c66266e09b1772f2 /src/basic/mountpoint-util.c
parentmount-util: mount flag is unsigned long (diff)
downloadsystemd-b205e59ad49aa0ea69496c43ffbc467299e85d21.tar.xz
systemd-b205e59ad49aa0ea69496c43ffbc467299e85d21.zip
mountpoint-util: rename mount_propagation_flags_to_string() and friends as singular
Diffstat (limited to 'src/basic/mountpoint-util.c')
-rw-r--r--src/basic/mountpoint-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/mountpoint-util.c b/src/basic/mountpoint-util.c
index 09fbdcfebe..0c9fc0a350 100644
--- a/src/basic/mountpoint-util.c
+++ b/src/basic/mountpoint-util.c
@@ -568,7 +568,7 @@ int mount_nofollow(
return mount_fd(source, fd, filesystemtype, mountflags, data);
}
-const char *mount_propagation_flags_to_string(unsigned long flags) {
+const char *mount_propagation_flag_to_string(unsigned long flags) {
switch (flags & (MS_SHARED|MS_SLAVE|MS_PRIVATE)) {
case 0:
@@ -584,7 +584,7 @@ const char *mount_propagation_flags_to_string(unsigned long flags) {
return NULL;
}
-int mount_propagation_flags_from_string(const char *name, unsigned long *ret) {
+int mount_propagation_flag_from_string(const char *name, unsigned long *ret) {
if (isempty(name))
*ret = 0;