summaryrefslogtreecommitdiffstats
path: root/src/basic/stat-util.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-10-31 16:13:05 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-30 20:43:25 +0100
commit40fd52f28d464d357376d8c641f5a80fdbda59a3 (patch)
tree6b4458d1421041bf88fd5158f4da6d6f6288289d /src/basic/stat-util.c
parentutil-lib: rename fd_check_fstype to fd_is_fs_type (diff)
downloadsystemd-40fd52f28d464d357376d8c641f5a80fdbda59a3.tar.xz
systemd-40fd52f28d464d357376d8c641f5a80fdbda59a3.zip
util-lib: rename path_check_fstype to path_is_fs_type
Diffstat (limited to 'src/basic/stat-util.c')
-rw-r--r--src/basic/stat-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/stat-util.c b/src/basic/stat-util.c
index 483c3363af..c6b8507e9d 100644
--- a/src/basic/stat-util.c
+++ b/src/basic/stat-util.c
@@ -202,7 +202,7 @@ int fd_is_fs_type(int fd, statfs_f_type_t magic_value) {
return is_fs_type(&s, magic_value);
}
-int path_check_fstype(const char *path, statfs_f_type_t magic_value) {
+int path_is_fs_type(const char *path, statfs_f_type_t magic_value) {
_cleanup_close_ int fd = -1;
fd = open(path, O_RDONLY|O_CLOEXEC|O_NOCTTY|O_PATH);