diff options
author | schwarze <> | 2016-02-05 15:09:09 +0000 |
---|---|---|
committer | schwarze <> | 2016-02-05 15:09:09 +0000 |
commit | 2c0cf573dfd97efbdbfb2549f5e08e7e5d2d1a55 (patch) | |
tree | fb6714c088979ae97bd92a5b71d9f3e70186b329 /src/lib/libc/stdlib/icdb.c | |
parent | 816a88a16ce489c82fc7f6130f87f75aa237a595 (diff) | |
download | openbsd-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/icdb.c')
0 files changed, 0 insertions, 0 deletions