diff options
author | trasz <trasz@FreeBSD.org> | 2010-11-11 21:53:46 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2010-11-11 21:53:46 +0000 |
commit | 3552cb3e1f59acfc486923d25eaa472564e77158 (patch) | |
tree | 4c37d591039cfd10259b21b293a0ece8b8f88b66 /sys/kern/kern_proc.c | |
parent | 723162fdf70cb6158ab5e5e275ef735b415fec76 (diff) | |
download | FreeBSD-src-3552cb3e1f59acfc486923d25eaa472564e77158.zip FreeBSD-src-3552cb3e1f59acfc486923d25eaa472564e77158.tar.gz |
Fix style.
Submitted by: bde
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r-- | sys/kern/kern_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index ad4e8d9..9cfbc20 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -784,10 +784,10 @@ fill_kinfo_proc_only(struct proc *p, struct kinfo_proc *kp) calcru(p, &kp->ki_rusage.ru_utime, &kp->ki_rusage.ru_stime); PROC_SUNLOCK(p); calccru(p, &kp->ki_childutime, &kp->ki_childstime); - - /* Some callers want child-times in a single value */ + /* Some callers want child times in a single value. */ kp->ki_childtime = kp->ki_childstime; timevaladd(&kp->ki_childtime, &kp->ki_childutime); + tp = NULL; if (p->p_pgrp) { kp->ki_pgid = p->p_pgrp->pg_id; |