Date: Sat, 27 Mar 2004 19:00:57 -0800 (PST) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ps ps.c Message-ID: <200403280300.i2S30vkR040838@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2004/03/27 19:00:57 PST
FreeBSD src repository
Modified files:
bin/ps ps.c
Log:
If <x> is a process id that does not exist, then just print the header
(if any) and exit, thus matching the behavior on -stable and other OS's.
My earlier attempt to fix this (v1.65) only seemed to work because of a
lucky random value in nentries (which was not being initialized back
when I tested that earlier patch).
Revision Changes Path
1.72 +1 -1 src/bin/ps/ps.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403280300.i2S30vkR040838>
