diff options
author | 2009-06-04 18:48:54 +0000 | |
---|---|---|
committer | 2009-06-04 18:48:54 +0000 | |
commit | 6783a3d43f80edfe54572a6f9091a0b6663886d8 (patch) | |
tree | 4f1829e487ced920a09d942a1bacfcfcad735cc8 /sys/kern/subr_pool.c | |
parent | Proper support for tab stops (\033H etc), using a bitstring(3). Makes another (diff) | |
download | wireguard-openbsd-6783a3d43f80edfe54572a6f9091a0b6663886d8.tar.xz wireguard-openbsd-6783a3d43f80edfe54572a6f9091a0b6663886d8.zip |
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 |