Fix a precedence bug. ! has higher precedence than &.

This commit is contained in:
Jake Burkholder 2001-04-08 04:15:26 +00:00
parent 46ae634c56
commit 1681b00a79

View File

@ -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;
}