summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/setup.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2007-06-01 06:38:54 +0000
committerderaadt <deraadt@openbsd.org>2007-06-01 06:38:54 +0000
commit1ac585afc240dae55f3e66b294d74e85c11d5ee5 (patch)
treef32e82423451f3d5d4734c8235b9614b97cdc6d1 /sbin/fsck_ffs/setup.c
parentmore adosfs removal; (diff)
downloadwireguard-openbsd-1ac585afc240dae55f3e66b294d74e85c11d5ee5.tar.xz
wireguard-openbsd-1ac585afc240dae55f3e66b294d74e85c11d5ee5.zip
convert ufs2_daddr_t -> daddr64_t for greater clarity; ok pedro otto thib
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 3c007e05a5a..771aecfbb44 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.35 2007/05/29 06:28:15 otto Exp $ */
+/* $OpenBSD: setup.c,v 1.36 2007/06/01 06:41:33 deraadt 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.35 2007/05/29 06:28:15 otto Exp $";
+static const char rcsid[] = "$OpenBSD: setup.c,v 1.36 2007/06/01 06:41:33 deraadt Exp $";
#endif
#endif /* not lint */
@@ -357,7 +357,7 @@ setup(char *dev)
}
}
if (sblock.fs_magic == FS_UFS2_MAGIC)
- nindir = sblock.fs_bsize / sizeof(ufs2_daddr_t);
+ nindir = sblock.fs_bsize / sizeof(daddr64_t);
else
nindir = sblock.fs_bsize / sizeof(ufs1_daddr_t);
if (NINDIR(&sblock) != nindir) {
@@ -461,7 +461,7 @@ badsblabel:
static int
readsb(int listerr)
{
- ufs2_daddr_t super = 0;
+ daddr64_t super = 0;
int i;
if (bflag) {