diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-14 09:52:31 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-12-15 06:15:55 +0100 |
commit | b205e59ad49aa0ea69496c43ffbc467299e85d21 (patch) | |
tree | c25f085e760ac64a386ed314c66266e09b1772f2 /src/basic/mountpoint-util.c | |
parent | mount-util: mount flag is unsigned long (diff) | |
download | systemd-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.c | 4 |
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; |