summaryrefslogtreecommitdiff
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authorDon Lewis <truckman@FreeBSD.org>2003-07-13 01:22:21 +0000
committerDon Lewis <truckman@FreeBSD.org>2003-07-13 01:22:21 +0000
commit857d9c60d0afb185a9f137dbaba6b65da66aef81 (patch)
tree717b3d174838551975ecc8e26f0d8c55fe89302c /sys/kern/kern_prot.c
parent3c63a8b4fc12fa021ce01685560897528e48864a (diff)
Notes
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r--sys/kern/kern_prot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 848b82c935d4..47f2321b8f2f 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -1652,7 +1652,7 @@ crget(void)
MALLOC(cr, struct ucred *, sizeof(*cr), M_CRED, M_WAITOK | M_ZERO);
cr->cr_ref = 1;
- cr->cr_mtxp = mtx_pool_find(cr);
+ cr->cr_mtxp = mtx_pool_find(mtxpool_sleep, cr);
#ifdef MAC
mac_init_cred(cr);
#endif