diff options
-rw-r--r-- | sys/kern/kern_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index 5b02c5f..c92dabf 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -258,7 +258,7 @@ debuglockmgr(lkp, flags, interlkp, p, name, file, line) lockflags = LK_HAVE_EXCL; if (p) { PROC_LOCK(p); - if (!p->p_flag & P_DEADLKTREAT) { + if (!(p->p_flag & P_DEADLKTREAT)) { lockflags |= LK_WANT_EXCL | LK_WANT_UPGRADE; } |