diff options
author | dyson <dyson@FreeBSD.org> | 1995-08-08 05:14:40 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1995-08-08 05:14:40 +0000 |
commit | f24102e64034c8c99982bb036a618a94040fcf76 (patch) | |
tree | 43d1c4eb49e7b7693147fded6f9df76ce6df87a4 /lib/libc/stdio/tmpfile.c | |
parent | 87fdf08e35609c4f79780184279bb09237fd5865 (diff) | |
download | FreeBSD-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/stdio/tmpfile.c')
0 files changed, 0 insertions, 0 deletions