summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strerror.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1995-08-08 05:14:40 +0000
committerdyson <dyson@FreeBSD.org>1995-08-08 05:14:40 +0000
commitf24102e64034c8c99982bb036a618a94040fcf76 (patch)
tree43d1c4eb49e7b7693147fded6f9df76ce6df87a4 /lib/libc/string/strerror.c
parent87fdf08e35609c4f79780184279bb09237fd5865 (diff)
downloadFreeBSD-src-f24102e64034c8c99982bb036a618a94040fcf76.zip
FreeBSD-src-f24102e64034c8c99982bb036a618a94040fcf76.tar.gz
Fixed a problem that malloc(..,..,M_NOWAIT) was being called without checking
for return values. It just so happens that in the cases where it is likely to fail, it is okay to change the M_NOWAIT to M_WAITOK -- and all will be well. This problem was manfest as a panic very regularly on a 4MB system right after bootup.
Diffstat (limited to 'lib/libc/string/strerror.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud