summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-03-02 14:45:30 +0000
committerart <art@openbsd.org>2001-03-02 14:45:30 +0000
commitaf75c619cb66979a64cea36bdd4fee79b286937a (patch)
tree06e6651dea9158a6028ff7fb792dc9c1e3c73e58
parentUpdate to sudo 1.6.3p7 (diff)
downloadwireguard-openbsd-af75c619cb66979a64cea36bdd4fee79b286937a.tar.xz
wireguard-openbsd-af75c619cb66979a64cea36bdd4fee79b286937a.zip
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;