svn commit: r330705 - head/sbin/mount

Warner Losh imp at FreeBSD.org
Fri Mar 9 21:32:08 UTC 2018


Author: imp
Date: Fri Mar  9 21:32:07 2018
New Revision: 330705
URL: https://svnweb.freebsd.org/changeset/base/330705

Log:
  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)

Modified:
  head/sbin/mount/mount.c

Modified: head/sbin/mount/mount.c
==============================================================================
--- head/sbin/mount/mount.c	Fri Mar  9 19:39:08 2018	(r330704)
+++ head/sbin/mount/mount.c	Fri Mar  9 21:32:07 2018	(r330705)
@@ -589,11 +589,8 @@ mountfs(const char *vfstype, const char *spec, const c
 		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);


More information about the svn-src-head mailing list