diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2010-05-05 16:05:51 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2010-05-05 16:05:51 +0000 |
commit | 213c077f62b2dc32de2ce12b26564dd325184926 (patch) | |
tree | 673ac754a4b0a04ffc4982a4ea703fb294195d42 /sys/kern/kern_proc.c | |
parent | 2e8d55c4e86314f1f7992efea6ee840c4b60c40f (diff) | |
download | src-213c077f62b2dc32de2ce12b26564dd325184926.tar.gz src-213c077f62b2dc32de2ce12b26564dd325184926.zip |
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
Notes
Notes:
svn path=/head/; revision=207659
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r-- | sys/kern/kern_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 6c50f1f36181..055c844fcfe4 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -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; } |