summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/nrand48.c
diff options
context:
space:
mode:
authorschwarze <>2016-02-05 15:09:09 +0000
committerschwarze <>2016-02-05 15:09:09 +0000
commit2c0cf573dfd97efbdbfb2549f5e08e7e5d2d1a55 (patch)
treefb6714c088979ae97bd92a5b71d9f3e70186b329 /src/lib/libc/stdlib/nrand48.c
parent816a88a16ce489c82fc7f6130f87f75aa237a595 (diff)
downloadopenbsd-2c0cf573dfd97efbdbfb2549f5e08e7e5d2d1a55.tar.gz
openbsd-2c0cf573dfd97efbdbfb2549f5e08e7e5d2d1a55.tar.bz2
openbsd-2c0cf573dfd97efbdbfb2549f5e08e7e5d2d1a55.zip
Fix err(3) calls after allocation failures in examples.
There is long-standing consensus that err(1, NULL) is the best idiom after failure of malloc(3) and friends. Quirk in the manual noticed by tb@.
Diffstat (limited to 'src/lib/libc/stdlib/nrand48.c')
0 files changed, 0 insertions, 0 deletions