diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-30 00:45:05 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-30 00:45:05 +0100 |
commit | 35b54a3c247235b1bffe2a22784a1d5be10267f3 (patch) | |
tree | 4fa803d221cd4895fde17a611edc9ae2a32ddc35 /util-linux/umount.c | |
parent | eba7fe6bb9fdc89cf9d4d33043cd3856253d303d (diff) | |
download | busybox-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/umount.c')
-rw-r--r-- | util-linux/umount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/umount.c b/util-linux/umount.c index 78eef57a5..c958fd552 100644 --- a/util-linux/umount.c +++ b/util-linux/umount.c | |||
@@ -125,8 +125,8 @@ int umount_main(int argc UNUSED_PARAM, char **argv) | |||
125 | } else { | 125 | } else { |
126 | setup_common_bufsiz(); | 126 | setup_common_bufsiz(); |
127 | while (getmntent_r(fp, &me, bb_common_bufsiz1, COMMON_BUFSIZE)) { | 127 | while (getmntent_r(fp, &me, bb_common_bufsiz1, COMMON_BUFSIZE)) { |
128 | /* Match fstype if passed */ | 128 | /* Match fstype (fstype==NULL matches always) */ |
129 | if (!match_fstype(&me, fstype)) | 129 | if (!fstype_matches(me.mnt_type, fstype)) |
130 | continue; | 130 | continue; |
131 | m = xzalloc(sizeof(*m)); | 131 | m = xzalloc(sizeof(*m)); |
132 | m->next = mtl; | 132 | m->next = mtl; |