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
b118652d74
commit
460de012df
@ -589,11 +589,8 @@ mountfs(const char *vfstype, const char *spec, const char *name, int flags,
|
|||||||
optbuf = catopt(optbuf, "update");
|
optbuf = catopt(optbuf, "update");
|
||||||
|
|
||||||
/* Compatibility glue. */
|
/* Compatibility glue. */
|
||||||
if (strcmp(vfstype, "msdos") == 0) {
|
if (strcmp(vfstype, "msdos") == 0)
|
||||||
warnx(
|
|
||||||
"Using \"-t msdosfs\", since \"-t msdos\" is deprecated.");
|
|
||||||
vfstype = "msdosfs";
|
vfstype = "msdosfs";
|
||||||
}
|
|
||||||
|
|
||||||
/* Construct the name of the appropriate mount command */
|
/* Construct the name of the appropriate mount command */
|
||||||
(void)snprintf(execname, sizeof(execname), "mount_%s", vfstype);
|
(void)snprintf(execname, sizeof(execname), "mount_%s", vfstype);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user