summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-01-16 23:33:20 +0000
committerderaadt <deraadt@openbsd.org>2001-01-16 23:33:20 +0000
commitcd91c6e6a1ac495f26bd851638a181beb46ac5b3 (patch)
tree87796ff2ec2e617040ceeb8f242b5ed7207870e4
parenttypo in comment, change -> chance (diff)
downloadwireguard-openbsd-cd91c6e6a1ac495f26bd851638a181beb46ac5b3.tar.xz
wireguard-openbsd-cd91c6e6a1ac495f26bd851638a181beb46ac5b3.zip
use _exit() in signal handler
-rw-r--r--usr.sbin/apmd/apmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/apmd/apmd.c b/usr.sbin/apmd/apmd.c
index 8e47b9e87e9..4408e316617 100644
--- a/usr.sbin/apmd/apmd.c
+++ b/usr.sbin/apmd/apmd.c
@@ -77,7 +77,7 @@ void do_etc_file(const char *file);
void
sigexit(int signo)
{
- exit(1);
+ _exit(1);
}
void