diff options
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r-- | sys/kern/kern_malloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index 32b710db856..c519348d709 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_malloc.c,v 1.109 2014/07/10 07:50:27 tedu Exp $ */ +/* $OpenBSD: kern_malloc.c,v 1.110 2014/07/10 10:53:45 deraadt Exp $ */ /* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */ /* @@ -177,8 +177,8 @@ malloc(unsigned long size, int type, int flags) KASSERT(flags & (M_WAITOK | M_NOWAIT)); if ((flags & M_NOWAIT) == 0) { -#ifdef DIAGNOSTIC extern int pool_debug; +#ifdef DIAGNOSTIC assertwaitok(); if (pool_debug == 2) yield(); |