aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2018-03-09 21:32:07 +0000
committerWarner Losh <imp@FreeBSD.org>2018-03-09 21:32:07 +0000
commit0b8c33590abff3c5aae969219197f3c193d16c68 (patch)
treea927f495d983305a48bc678bbef4aefd8512f504 /sbin/mount
parent35b0c718d312ae8067c598910886553c5b4da02a (diff)
downloadsrc-0b8c33590abff3c5aae969219197f3c193d16c68.tar.gz
src-0b8c33590abff3c5aae969219197f3c193d16c68.zip
Notes
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/mount/mount.c b/sbin/mount/mount.c
index b0b1c0bd071f..6a59c736088e 100644
--- a/sbin/mount/mount.c
+++ b/sbin/mount/mount.c
@@ -589,11 +589,8 @@ mountfs(const char *vfstype, const char *spec, const char *name, int flags,
optbuf = catopt(optbuf, "update");
/* Compatibility glue. */
- if (strcmp(vfstype, "msdos") == 0) {
- warnx(
- "Using \"-t msdosfs\", since \"-t msdos\" is deprecated.");
+ if (strcmp(vfstype, "msdos") == 0)
vfstype = "msdosfs";
- }
/* Construct the name of the appropriate mount command */
(void)snprintf(execname, sizeof(execname), "mount_%s", vfstype);