svn commit: r315546 - stable/11/sbin/fsck
Edward Tomasz Napierala
trasz at FreeBSD.org
Sun Mar 19 14:05:57 UTC 2017
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 {
More information about the svn-src-all
mailing list