Remove decade's old whine about msdos vs msdosfs.

Retain the compatibility silently though.

Reviewed by: cem@, kevans@, emaste@ (and many others in the past)
This commit is contained in:
Warner Losh 2018-03-09 21:32:07 +00:00
parent 35b0c718d3
commit 0b8c33590a

View File

@ -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);