diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-07-10 13:34:40 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-07-10 13:34:40 +0000 |
commit | 8bbac16bf206757fa4d290e71bb6b0fb71e91613 (patch) | |
tree | 0d09f2a19d71709e034d8f50fc2e5f70ea020475 /sys | |
parent | fd44aff8a64104f8df34eb71bc06a61347463828 (diff) |
drain some boolean_t poison
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_pool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_pool.c b/sys/kern/subr_pool.c index 09e17f38e98..438f065a267 100644 --- a/sys/kern/subr_pool.c +++ b/sys/kern/subr_pool.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_pool.c,v 1.137 2014/07/10 07:50:27 tedu Exp $ */ +/* $OpenBSD: subr_pool.c,v 1.138 2014/07/10 13:34:39 tedu Exp $ */ /* $NetBSD: subr_pool.c,v 1.61 2001/09/26 07:14:56 chs Exp $ */ /*- @@ -1528,7 +1528,7 @@ struct pool_allocator pool_allocator_nointr = { void * pool_allocator_alloc(struct pool *pp, int flags, int *slowdown) { - boolean_t waitok = (flags & PR_WAITOK) ? TRUE : FALSE; + int waitok = flags & PR_WAITOK; void *v; if (waitok) |