diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-06-15 03:42:04 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-06-15 03:42:04 +0000 |
commit | b493aad3035da824849686c3e9ba5d6ce1ae7e91 (patch) | |
tree | 0e112246ec2d25a3b69db85c6289e9600924f07e /lib/libkvm | |
parent | 28eeb9781f52d1a33bb090ccdcea307b19ebe732 (diff) | |
download | FreeBSD-src-b493aad3035da824849686c3e9ba5d6ce1ae7e91.zip FreeBSD-src-b493aad3035da824849686c3e9ba5d6ce1ae7e91.tar.gz |
P_THREADED was renamed to P_SA, follow up.
Diffstat (limited to 'lib/libkvm')
-rw-r--r-- | lib/libkvm/kvm_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index efcb932..bb351e8 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -126,7 +126,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt) TAILQ_FIRST(&proc.p_threads)); return (-1); } - if (proc.p_flag & P_THREADED == 0) { + if (proc.p_flag & P_SA == 0) { if (KREAD(kd, (u_long)TAILQ_FIRST(&proc.p_ksegrps), &mkg)) { @@ -366,7 +366,7 @@ nopgrp: kp->ki_wchan = mtd.td_wchan; kp->ki_oncpu = mtd.td_oncpu; - if (!(proc.p_flag & P_THREADED)) { + if (!(proc.p_flag & P_SA)) { /* stuff from the ksegrp */ kp->ki_slptime = mkg.kg_slptime; kp->ki_pri.pri_class = mkg.kg_pri_class; |