diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2008-03-12 10:00:33 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2008-03-12 10:00:33 +0000 |
| commit | 1e71e49d1262c4825a95f22e4234c0d545129517 (patch) | |
| tree | 9584590482b31649c0ccd4509ff6740a6de64600 | |
| parent | 34147e43085adb95bec20538cfd4291260fa4fa3 (diff) | |
Notes
| -rw-r--r-- | lib/libkvm/kvm_proc.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index c7629321838a..a2265f99eb70 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -411,13 +411,8 @@ nopgrp: kp->ki_oncpu = mtd.td_oncpu; if (mtd.td_name[0] != '\0') strlcpy(kp->ki_ocomm, mtd.td_name, sizeof(kp->ki_ocomm)); - if (!(proc.p_flag & P_SA)) { - kp->ki_pctcpu = 0; - kp->ki_rqindex = 0; - } else { - kp->ki_tdflags = -1; - /* All the rest are 0 for now */ - } + kp->ki_pctcpu = 0; + kp->ki_rqindex = 0; } else { kp->ki_stat = SZOMB; } |
