diff options
-rw-r--r-- | sbin/mount/mount.c | 5 |
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); |