summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2018-03-05 16:53:39 +0000
committercheloha <cheloha@openbsd.org>2018-03-05 16:53:39 +0000
commit219f9c84f22eeac9573e74b3f0909e30cf4822f0 (patch)
tree1cd25740eb50862bf1822144310848180709652c /lib/libc/stdlib/malloc.c
parentOutsource enabling/disabling the DPD and keepalive timers for SAs into (diff)
downloadwireguard-openbsd-219f9c84f22eeac9573e74b3f0909e30cf4822f0.tar.xz
wireguard-openbsd-219f9c84f22eeac9573e74b3f0909e30cf4822f0.zip
Add fatal() and fatalx() and put them to use.
... but don't use them for pledge errors or usage errors. They are convenience wrappers that check if sflag is set before logging an error. They always exit with status 2. We were not honoring sflag in special.c at all. Now we do. ok tb@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions