summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs/pass1b.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-06-25 19:59:56 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-06-25 19:59:56 +0000
commit4b0d7fdaf11cb688a43c7321cbcfe263c9d7d011 (patch)
tree95ad9abbff7cce4341c289d7a508cf037a0b3a77 /sbin/fsck_ffs/pass1b.c
parent63beb6614aaf6997d30c6ef6819a1f95f288bac0 (diff)
Teach fsck_ffs about 64-bit block addresses. ok (and help) moritz@ pedro@
Diffstat (limited to 'sbin/fsck_ffs/pass1b.c')
-rw-r--r--sbin/fsck_ffs/pass1b.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/pass1b.c b/sbin/fsck_ffs/pass1b.c
index fce77a44561..2b505240156 100644
--- a/sbin/fsck_ffs/pass1b.c
+++ b/sbin/fsck_ffs/pass1b.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pass1b.c,v 1.14 2007/04/10 16:08:17 millert Exp $ */
+/* $OpenBSD: pass1b.c,v 1.15 2007/06/25 19:59:55 otto Exp $ */
/* $NetBSD: pass1b.c,v 1.10 1996/09/23 16:18:37 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pass1b.c 8.1 (Berkeley) 6/5/93";
#else
-static const char rcsid[] = "$OpenBSD: pass1b.c,v 1.14 2007/04/10 16:08:17 millert Exp $";
+static const char rcsid[] = "$OpenBSD: pass1b.c,v 1.15 2007/06/25 19:59:55 otto Exp $";
#endif
#endif /* not lint */
@@ -96,7 +96,7 @@ pass1bcheck(struct inodesc *idesc)
{
struct dups *dlp;
int nfrags, res = KEEPON;
- daddr_t blkno = idesc->id_blkno;
+ daddr64_t blkno = idesc->id_blkno;
for (nfrags = idesc->id_numfrags; nfrags > 0; blkno++, nfrags--) {
if (chkrange(blkno, 1))