summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-03-19 22:13:37 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-03-19 22:13:37 +0000
commit6959a55360e2b6bae717308b4589fa5ddfda3bf1 (patch)
tree9aa3ae5882440c504e2a13d73d34e39b9d5a2528 /sbin/fsck_ffs
parent8fb12f42a94c49e293bc0bcf3616a11b57f6079e (diff)
be a tiny little bit more verbose when encoutering bad block or fragment
sizes; requested by mickey@
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index 2bb74be8a8a..2b17bb7d4ad 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.31 2007/03/19 13:27:47 pedro Exp $ */
+/* $OpenBSD: setup.c,v 1.32 2007/03/19 22:13:36 otto Exp $ */
/* $NetBSD: setup.c,v 1.27 1996/09/27 22:45:19 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)setup.c 8.5 (Berkeley) 11/23/94";
#else
-static const char rcsid[] = "$OpenBSD: setup.c,v 1.31 2007/03/19 13:27:47 pedro Exp $";
+static const char rcsid[] = "$OpenBSD: setup.c,v 1.32 2007/03/19 22:13:36 otto Exp $";
#endif
#endif /* not lint */
@@ -483,13 +483,13 @@ readsb(int listerr)
if (!POWEROF2(sblock.fs_bsize) || sblock.fs_bsize < MINBSIZE ||
sblock.fs_bsize > MAXBSIZE) {
- badsb(listerr, "ILLEGAL BLOCK SIZE");
+ badsb(listerr, "ILLEGAL BLOCK SIZE IN SUPERBLOCK");
return (0);
}
if (!POWEROF2(sblock.fs_fsize) || sblock.fs_fsize > sblock.fs_bsize ||
sblock.fs_fsize < sblock.fs_bsize / MAXFRAG) {
- badsb(listerr, "ILLEGAL FRAGMENT SIZE");
+ badsb(listerr, "ILLEGAL FRAGMENT SIZE IN SUPERBLOCK");
return (0);
}