From owner-cvs-all Tue Jun 4 18:36:33 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 62A2437B404; Tue, 4 Jun 2002 18:36:30 -0700 (PDT) Received: (from jmallett@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g551aUt47839; Tue, 4 Jun 2002 18:36:30 -0700 (PDT) (envelope-from jmallett) Message-Id: <200206050136.g551aUt47839@freefall.freebsd.org> From: "J. Mallett" Date: Tue, 4 Jun 2002 18:36:30 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ps fmt.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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