summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/pass1.c
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-12-19 15:18:03 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-12-19 15:18:03 +0000
commitfaad135a3485c1937647375bf90703d20730c9f8 (patch)
tree913df1cffab13edaa018e7552f9b531a9de9be37 /sbin/fsck_ffs/pass1.c
parent9ff59a5a926ca26a1fa600ebf739e3f4fd698ca2 (diff)
Add and use a few more constants and macros needed by UFS2
No functional change
Diffstat (limited to 'sbin/fsck_ffs/pass1.c')
-rw-r--r--sbin/fsck_ffs/pass1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c
index 1c00810d712..f2ae3eca02b 100644
--- a/sbin/fsck_ffs/pass1.c
+++ b/sbin/fsck_ffs/pass1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pass1.c,v 1.17 2005/04/16 18:15:41 millert Exp $ */
+/* $OpenBSD: pass1.c,v 1.18 2005/12/19 15:18:01 pedro Exp $ */
/* $NetBSD: pass1.c,v 1.16 1996/09/27 22:45:15 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pass1.c 8.1 (Berkeley) 6/5/93";
#else
-static const char rcsid[] = "$OpenBSD: pass1.c,v 1.17 2005/04/16 18:15:41 millert Exp $";
+static const char rcsid[] = "$OpenBSD: pass1.c,v 1.18 2005/12/19 15:18:01 pedro Exp $";
#endif
#endif /* not lint */
@@ -167,7 +167,7 @@ checkinode(ino_t inumber, struct inodesc *idesc)
* conversion altogether. - mycroft, 19MAY1994
*/
if (doinglevel2 &&
- dp->di_size > 0 && dp->di_size < MAXSYMLINKLEN &&
+ dp->di_size > 0 && dp->di_size < MAXSYMLINKLEN_UFS1 &&
dp->di_blocks != 0) {
symbuf = alloca(secsize);
if (bread(fsreadfd, symbuf,