summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_mbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_mbuf.c')
-rw-r--r--sys/kern/subr_mbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_mbuf.c b/sys/kern/subr_mbuf.c
index 08def9c..65095e0 100644
--- a/sys/kern/subr_mbuf.c
+++ b/sys/kern/subr_mbuf.c
@@ -862,7 +862,7 @@ mb_reclaim(void)
* XXX: to avoid this.
*/
#ifdef WITNESS
- KASSERT(witness_list(curproc) == 0,
+ KASSERT(witness_list(curthread) == 0,
("mb_reclaim() called with locks held"));
#endif
OpenPOWER on IntegriCloud