Date: Tue, 4 Jun 2002 18:36:30 -0700 (PDT) From: "J. Mallett" <jmallett@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ps fmt.c Message-ID: <200206050136.g551aUt47839@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmallett 2002/06/04 18:36:30 PDT
Modified files:
bin/ps fmt.c
Log:
Returning NULL here if malloc(3) fails is silly, at this point in the codepath
we have't malloc(3)'d nearly as much as we probably will, so errx(3) away,
instead of waiting for something to fail yet again later on.
Revision Changes Path
1.22 +1 -1 src/bin/ps/fmt.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206050136.g551aUt47839>
