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:
parent
35b0c718d3
commit
0b8c33590a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user