Subject: PR/36295 CVS commit: src/bin/ps
To: None <,,>
From: David Laight <>
List: netbsd-bugs
Date: 07/28/2007 17:05:09
The following reply was made to PR bin/36295; it has been noted by GNATS.

From: David Laight <>
Subject: PR/36295 CVS commit: src/bin/ps
Date: Sat, 28 Jul 2007 17:05:51 +0000 (UTC)

 Module Name:	src
 Committed By:	dsl
 Date:		Sat Jul 28 17:05:50 UTC 2007
 Modified Files:
 	src/bin/ps: print.c
 Log Message:
 Don't call P_ZOMBIE(struct kinfo_proc2), it's p_stat field contains
 lwp states, not process states!
 Since the times are filled with zeros for zombie processes the check
 before assuming teh process time is zero is moot - delete it.
 Fix the other chact to test the p_realstat.
 Fixer PR kern/36295
 To generate a diff of this commit:
 cvs rdiff -r1.99 -r1.100 src/bin/ps/print.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.