diff options
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r-- | sys/kern/kern_mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c index 86fa1e4..4e53766 100644 --- a/sys/kern/kern_mutex.c +++ b/sys/kern/kern_mutex.c @@ -829,7 +829,7 @@ witness_enter(struct mtx *m, int flags, const char *file, int line) return; if (witness_dead) goto out; - if (cold) + if (cold || panicstr) goto out; if (!mtx_legal2block()) |