From 208a0a79f9a9d2e6c83c1d892df5d1e2a85c4e93 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Fri, 2 Mar 2001 14:45:31 +0000 Subject: When doing last second fixes before a commit, it's a good idea to check if it builds. --- sbin/fsck_ffs/pass5.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index 7ddd982f018..67d9c94e40e 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass5.c,v 1.8 2001/03/02 08:33:55 art Exp $ */ +/* $OpenBSD: pass5.c,v 1.9 2001/03/02 14:45:30 art Exp $ */ /* $NetBSD: pass5.c,v 1.16 1996/09/27 22:45:18 christos Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pass5.c 8.6 (Berkeley) 11/30/94"; #else -static char rcsid[] = "$OpenBSD: pass5.c,v 1.8 2001/03/02 08:33:55 art Exp $"; +static char rcsid[] = "$OpenBSD: pass5.c,v 1.9 2001/03/02 14:45:30 art Exp $"; #endif #endif /* not lint */ @@ -132,7 +132,7 @@ pass5() mapsize = &ocg->cg_free[howmany(fs->fs_fpg, NBBY)] - (u_char *)&ocg->cg_iused[0]; blkmapsize = howmany(fs->fs_fpg, NBBY); - inomapsize = &ocg->cg_magic - (u_char *)&ocg->cg_iused[0]; + inomapsize = (u_char *)&ocg->cg_magic - (u_char *)&ocg->cg_iused[0]; ocg->cg_magic = CG_MAGIC; savednrpos = fs->fs_nrpos; fs->fs_nrpos = 8; -- cgit v1.2.3