Fix a mistake in r207603. td_rux.rux_runtime still needs conversion.

Reported and tested by:	nwhitehorn
Pointy hat to:	kib
MFC after:	6 days
This commit is contained in:
kib 2010-05-05 16:05:51 +00:00
parent b9358a210e
commit a3da7d7e69

View File

@ -901,7 +901,7 @@ fill_kinfo_thread(struct thread *td, struct kinfo_proc *kp, int preferthread)
kp->ki_pri.pri_user = td->td_user_pri;
if (preferthread) {
kp->ki_runtime = td->td_rux.rux_runtime;
kp->ki_runtime = cputick2usec(td->td_rux.rux_runtime);
kp->ki_pctcpu = sched_pctcpu(td);
kp->ki_estcpu = td->td_estcpu;
}