From 3010536674e8f0f4fd8f7a4e22dd93abc20a3f67 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Wed, 16 Jun 2004 00:34:31 +0000 Subject: [PATCH] This library has to change whenever the kernel process structure changes. --- lib/libkvm/kvm_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index 118ec8d83982..1fc196c9ce69 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -336,6 +336,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt) kp->ki_swtime = proc.p_swtime; kp->ki_flag = proc.p_flag; kp->ki_sflag = proc.p_sflag; + kp->ki_nice = proc.p_nice; kp->ki_traceflag = proc.p_traceflag; if (proc.p_state == PRS_NORMAL) { if (TD_ON_RUNQ(&mtd) || @@ -370,7 +371,6 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt) kp->ki_slptime = mkg.kg_slptime; kp->ki_pri.pri_class = mkg.kg_pri_class; kp->ki_pri.pri_user = mkg.kg_user_pri; - kp->ki_nice = mkg.kg_nice; kp->ki_estcpu = mkg.kg_estcpu; /* Stuff from the kse */