diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-07-17 18:54:41 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-07-17 18:54:41 +0000 |
commit | f2d0b661971c8cfc8fdbd0c64b6c1b653b92aaf1 (patch) | |
tree | e6c950a4d5dc61def6fffed79f775800b4e474c1 /sbin/fsck_ffs/pass5.c | |
parent | 9084dc53921b14690f93c889e60ab1968169cd7b (diff) |
rmoev the macppc workaround, now that isset() and friends use expressions
that gcc likes better
Diffstat (limited to 'sbin/fsck_ffs/pass5.c')
-rw-r--r-- | sbin/fsck_ffs/pass5.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c index eab452b706e..8d1914d522c 100644 --- a/sbin/fsck_ffs/pass5.c +++ b/sbin/fsck_ffs/pass5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pass5.c,v 1.35 2007/07/04 20:43:44 deraadt Exp $ */ +/* $OpenBSD: pass5.c,v 1.36 2007/07/17 18:54:40 otto Exp $ */ /* $NetBSD: pass5.c,v 1.16 1996/09/27 22:45:18 christos Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)pass5.c 8.6 (Berkeley) 11/30/94"; #else -static const char rcsid[] = "$OpenBSD: pass5.c,v 1.35 2007/07/04 20:43:44 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: pass5.c,v 1.36 2007/07/17 18:54:40 otto Exp $"; #endif #endif /* not lint */ @@ -273,8 +273,7 @@ pass5(void) d += fs->fs_frag, i += fs->fs_frag) { frags = 0; for (j = 0; j < fs->fs_frag; j++) { - /* XXX macppc has problems with [daddr64_t] */ - if (testbmap((u_int)d + j)) + if (testbmap(d + j)) continue; setbit(cg_blksfree(newcg), i + j); frags++; |