diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-06-04 18:48:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-06-04 18:48:55 +0000 |
commit | aef680e2831a6840f12deebf70955064e6cd3cc4 (patch) | |
tree | 1e89aa41181105608d55667a120da5d689947eba /sys/kern/subr_pool.c | |
parent | b6413bfe784d56948b331145fd7ba131e01058a3 (diff) |
POOL_DEBUG and DIAGNOSTIC should be better friends
Diffstat (limited to 'sys/kern/subr_pool.c')
-rw-r--r-- | sys/kern/subr_pool.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index 9838e55130c..0f155c0b12d 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.82 2009/06/04 17:42:23 deraadt Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.83 2009/06/04 18:48:54 deraadt Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -684,7 +684,7 @@ pool_do_put(struct pool *pp, void *v) { struct pool_item *pi = v; struct pool_item_header *ph; -#if defined(POOL_DEBUG) && defined(DIAGNOSTIC) +#if defined(DIAGNOSTIC) && defined(POOL_DEBUG) int i, *ip; #endif @@ -826,7 +826,7 @@ pool_prime_page(struct pool *pp, caddr_t storage, struct pool_item_header *ph) unsigned int align = pp->pr_align; unsigned int ioff = pp->pr_itemoffset; int n; -#if defined(POOL_DEBUG) && defined(DIAGNOSTIC) +#if defined(DIAGNOSTIC) && defined(POOL_DEBUG) int i, *ip; #endif @@ -1211,7 +1211,7 @@ pool_chk_page(struct pool *pp, const char *label, struct pool_item_header *ph) struct pool_item *pi; caddr_t page; int n; -#ifdef POOL_DEBUG +#if defined(DIAGNOSTIC) && defined(POOL_DEBUG) int i, *ip; #endif |