summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/umount/umount.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/umount/umount.c b/sbin/umount/umount.c
index 93b50c042fa7..57baed99de2a 100644
--- a/sbin/umount/umount.c
+++ b/sbin/umount/umount.c
@@ -214,10 +214,8 @@ umountall(char **typelist)
strcmp(fs->fs_type, FSTAB_RQ))
continue;
/* If an unknown file system type, complain. */
- if (getvfsbyname(fs->fs_vfstype, &vfc) == -1) {
- warnx("%s: unknown mount type", fs->fs_vfstype);
+ if (getvfsbyname(fs->fs_vfstype, &vfc) == -1)
continue;
- }
if (checkvfsname(fs->fs_vfstype, typelist))
continue;