diff options
author | 2018-03-05 16:53:39 +0000 | |
---|---|---|
committer | 2018-03-05 16:53:39 +0000 | |
commit | 219f9c84f22eeac9573e74b3f0909e30cf4822f0 (patch) | |
tree | 1cd25740eb50862bf1822144310848180709652c /lib/libc/stdlib/malloc.c | |
parent | Outsource enabling/disabling the DPD and keepalive timers for SAs into (diff) | |
download | wireguard-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