summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_spec.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-11-11 08:28:47 +0000
committerache <ache@FreeBSD.org>1996-11-11 08:28:47 +0000
commit26976c4aeef49bec6f7209edbdc489614ba70a12 (patch)
tree54353b89372adc432548645c299404320eb476bc /lib/libpthread/thread/thr_spec.c
parent3f0c80b2e9b04379f6a4937173027135e3f6e247 (diff)
downloadFreeBSD-src-26976c4aeef49bec6f7209edbdc489614ba70a12.zip
FreeBSD-src-26976c4aeef49bec6f7209edbdc489614ba70a12.tar.gz
kvm_malloc:
When malloc fails. don't try to memset NULL pointer, it cause core dump Replace malloc+memset with calloc, theoretically it can do some optimization of zeroing process internally Improve error diagnostic
Diffstat (limited to 'lib/libpthread/thread/thr_spec.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud