Date: Fri, 9 Mar 2018 21:32:08 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r330705 - head/sbin/mount Message-ID: <201803092132.w29LW8QD030490@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803092132.w29LW8QD030490>