aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-30 00:45:05 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-30 00:45:05 +0100
commit35b54a3c247235b1bffe2a22784a1d5be10267f3 (patch)
tree4fa803d221cd4895fde17a611edc9ae2a32ddc35 /util-linux/mount.c
parenteba7fe6bb9fdc89cf9d4d33043cd3856253d303d (diff)
downloadbusybox-w32-35b54a3c247235b1bffe2a22784a1d5be10267f3.tar.gz
busybox-w32-35b54a3c247235b1bffe2a22784a1d5be10267f3.tar.bz2
busybox-w32-35b54a3c247235b1bffe2a22784a1d5be10267f3.zip
libbb: match_fstype() is unreadable in the extreme, fixing it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r--util-linux/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 4f5dced10..f0245f714 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -2312,7 +2312,7 @@ int mount_main(int argc UNUSED_PARAM, char **argv)
2312 bb_error_msg_and_die(bb_msg_you_must_be_root); 2312 bb_error_msg_and_die(bb_msg_you_must_be_root);
2313 2313
2314 // Does type match? (NULL matches always) 2314 // Does type match? (NULL matches always)
2315 if (!match_fstype(mtcur, fstype)) 2315 if (!fstype_matches(mtcur->mnt_type, fstype))
2316 continue; 2316 continue;
2317 2317
2318 // Skip noauto and swap anyway 2318 // Skip noauto and swap anyway