diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-06 13:41:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-06 13:41:12 +0000 |
commit | 619cb476875bac5c56fff98a1d348377a0cb37ff (patch) | |
tree | c5a7b977f9408234517d336b70bf591dbce5b07a | |
parent | ae26b5a8fb49ac78faa92b79c703ddc8b6ee62e6 (diff) |
make kernel compile
-rw-r--r-- | sys/kern/subr_pool.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index a22e163d821..c0942d2b7f3 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.117 2013/04/06 03:53:25 tedu Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.118 2013/04/06 13:41:11 deraadt Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -454,8 +454,10 @@ pool_alloc_item_header(struct pool *pp, caddr_t storage, int flags) else ph = pool_get(&phpool, (flags & ~(PR_WAITOK | PR_ZERO)) | PR_NOWAIT); +#ifdef DIAGNOSTIC if (pool_debug && ph != NULL) ph->ph_magic = poison_value(ph); +#endif return (ph); } |