mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Fix a test of bit-flag "P_SA" by adding parenthesis around the expression.
Submitted by: Cyrille Lefevre
This commit is contained in:
parent
cc822cb53e
commit
1566329b0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130996
@ -128,7 +128,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
|
||||
TAILQ_FIRST(&proc.p_threads));
|
||||
return (-1);
|
||||
}
|
||||
if (proc.p_flag & P_SA == 0) {
|
||||
if ((proc.p_flag & P_SA) == 0) {
|
||||
if (KREAD(kd,
|
||||
(u_long)TAILQ_FIRST(&proc.p_ksegrps),
|
||||
&mkg)) {
|
||||
|
Loading…
Reference in New Issue
Block a user