Date: Sun, 19 Mar 2017 14:05:56 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r315546 - stable/11/sbin/fsck Message-ID: <201703191405.v2JE5uoD056595@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Sun Mar 19 14:05:56 2017 New Revision: 315546 URL: https://svnweb.freebsd.org/changeset/base/315546 Log: MFC r313915: Make fsck(8) default to "ufs", like eg mount(8) does. Modified: stable/11/sbin/fsck/fsck.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sbin/fsck/fsck.c ============================================================================== --- stable/11/sbin/fsck/fsck.c Sun Mar 19 13:46:11 2017 (r315545) +++ stable/11/sbin/fsck/fsck.c Sun Mar 19 14:05:56 2017 (r315546) @@ -215,7 +215,7 @@ main(int argc, char *argv[]) if (vfstype == NULL) vfstype = getfstype(spec); if (vfstype == NULL) - errx(1, "Could not determine filesystem type"); + vfstype = "ufs"; type = vfstype; devcheck(spec); } else {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703191405.v2JE5uoD056595>