libbb: match_fstype() is unreadable in the extreme, fixing it

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-01-30 00:45:05 +01:00
parent eba7fe6bb9
commit 35b54a3c24
4 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -2312,7 +2312,7 @@ int mount_main(int argc UNUSED_PARAM, char **argv)
bb_error_msg_and_die(bb_msg_you_must_be_root);
// Does type match? (NULL matches always)
if (!match_fstype(mtcur, fstype))
if (!fstype_matches(mtcur->mnt_type, fstype))
continue;
// Skip noauto and swap anyway