summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-03-02 14:45:31 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-03-02 14:45:31 +0000
commit208a0a79f9a9d2e6c83c1d892df5d1e2a85c4e93 (patch)
treef04fe24988ae61ce027637f3c5990e8e5649dde9
parentcea55f7259b2239d8285d1643998123823df1d7a (diff)
When doing last second fixes before a commit, it's a good idea
to check if it builds.
-rw-r--r--sbin/fsck_ffs/pass5.c6
1 files 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;