diff options
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r-- | sys/kern/kern_lock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index 6ee1c5c..7f8b831 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -240,7 +240,9 @@ debuglockmgr(lkp, flags, interlkp, td, name, file, line) } if ((flags & (LK_NOWAIT|LK_RELEASE)) == 0) - WITNESS_SLEEP(1, &lkp->lk_interlock->mtx_object); + WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, + &lkp->lk_interlock->mtx_object, + "Acquiring lockmgr lock \"%s\"", lkp->lk_wmesg); if (panicstr != NULL) { mtx_unlock(lkp->lk_interlock); |