summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/setup.c
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2007-06-01 23:42:36 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2007-06-01 23:42:36 +0000
commit1b739e73e223f9c851a42f8417dda3d6e71ed3ff (patch)
tree4d177508418d6674c1b850cd10836a8165891af9 /sbin/fsck_ffs/setup.c
parent442f64cf0df0d38e9f4cd280a06fe8270dd85d1b (diff)
ufs1_daddr_t cleanup, okay otto@
Diffstat (limited to 'sbin/fsck_ffs/setup.c')
-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 771aecfbb44..23fa7c7e7d3 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.36 2007/06/01 06:41:33 deraadt Exp $ */
+/* $OpenBSD: setup.c,v 1.37 2007/06/01 23:42:35 pedro 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.36 2007/06/01 06:41:33 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: setup.c,v 1.37 2007/06/01 23:42:35 pedro Exp $";
#endif
#endif /* not lint */
@@ -357,9 +357,9 @@ setup(char *dev)
}
}
if (sblock.fs_magic == FS_UFS2_MAGIC)
- nindir = sblock.fs_bsize / sizeof(daddr64_t);
+ nindir = sblock.fs_bsize / sizeof(int64_t);
else
- nindir = sblock.fs_bsize / sizeof(ufs1_daddr_t);
+ nindir = sblock.fs_bsize / sizeof(int32_t);
if (NINDIR(&sblock) != nindir) {
pwarn("INCONSISTENT NINDIR=%d\n", NINDIR(&sblock));
sblock.fs_nindir = nindir;