Subject: CVS commit: src/bin/ps
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 07/28/2007 17:05:50
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.