From 4b0d7fdaf11cb688a43c7321cbcfe263c9d7d011 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 25 Jun 2007 19:59:56 +0000 Subject: Teach fsck_ffs about 64-bit block addresses. ok (and help) moritz@ pedro@ --- sbin/fsck_ffs/pass1.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sbin/fsck_ffs/pass1.c') diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c index d6a4b85288f..8485704056e 100644 --- a/sbin/fsck_ffs/pass1.c +++ b/sbin/fsck_ffs/pass1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass1.c,v 1.25 2007/06/01 23:42:35 pedro Exp $ */ +/* $OpenBSD: pass1.c,v 1.26 2007/06/25 19:59:55 otto Exp $ */ /* $NetBSD: pass1.c,v 1.16 1996/09/27 22:45:15 christos Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)pass1.c 8.1 (Berkeley) 6/5/93"; #else -static const char rcsid[] = "$OpenBSD: pass1.c,v 1.25 2007/06/01 23:42:35 pedro Exp $"; +static const char rcsid[] = "$OpenBSD: pass1.c,v 1.26 2007/06/25 19:59:55 otto Exp $"; #endif #endif /* not lint */ @@ -52,8 +52,8 @@ static const char rcsid[] = "$OpenBSD: pass1.c,v 1.25 2007/06/01 23:42:35 pedro #include "extern.h" #include "fsutil.h" -static daddr_t badblk; -static daddr_t dupblk; +static daddr64_t badblk; +static daddr64_t dupblk; static void checkinode(ino_t, struct inodesc *); static ino_t info_inumber; @@ -310,7 +310,7 @@ pass1check(struct inodesc *idesc) { int res = KEEPON; int anyout, nfrags; - daddr_t blkno = idesc->id_blkno; + daddr64_t blkno = idesc->id_blkno; struct dups *dlp; struct dups *new; -- cgit v1.2.3