diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1998-03-27 11:51:02 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1998-03-27 11:51:02 +0000 |
commit | 5010425dac94e8acc27148ceaa0ad866c7f79dae (patch) | |
tree | 69d4c907b2544ce075e6d1c9113a17604d9cd012 /sys/ufs | |
parent | 8f35e43b81031207cf97d0e03af3ad0c6789e459 (diff) |
Make compile without diagnistic possible. (Yes very small kernel)
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 267c368dd6b..3ee467a76d2 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_alloc.c,v 1.12 1998/03/03 17:05:32 ryker Exp $ */ +/* $OpenBSD: ffs_alloc.c,v 1.13 1998/03/27 11:51:01 pefo Exp $ */ /* $NetBSD: ffs_alloc.c,v 1.11 1996/05/11 18:27:09 mycroft Exp $ */ /* @@ -511,7 +511,7 @@ ffs_reallocblks(v) dbtofsb(fs, buflist->bs_children[i]->b_blkno), fs->fs_bsize); buflist->bs_children[i]->b_blkno = fsbtodb(fs, blkno); -#ifdef DEBUG +#ifdef DIAGNOSTIC if (!ffs_checkblk(ip, dbtofsb(fs, buflist->bs_children[i]->b_blkno), fs->fs_bsize)) panic("ffs_reallocblks: unallocated block 3"); @@ -1469,7 +1469,7 @@ ffs_freefile(ap) * Verify allocation of a block or fragment. Returns true if block or * fragment is allocated, false if it is free. */ -int +static int ffs_checkblk(ip, bno, size) struct inode *ip; daddr_t bno; |