]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Returning NULL here if malloc(3) fails is silly, at this point in the codepath
authorjmallett <jmallett@FreeBSD.org>
Wed, 5 Jun 2002 01:36:30 +0000 (01:36 +0000)
committerjmallett <jmallett@FreeBSD.org>
Wed, 5 Jun 2002 01:36:30 +0000 (01:36 +0000)
commit6cb17fa895ac115ee28362d2d2fad8de9f5152db
tree86699739fb677b7a379456b60b3637a5533919c8
parentb34dd0148dfb100764f5d568f50eb3cc4cfeb95d
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.
bin/ps/fmt.c