summaryrefslogtreecommitdiff
path: root/libexec/lockspool/lockspool.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-17 19:22:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-17 19:22:21 +0000
commit3c9efbc8dfcbab7f0dd3f31eb3de8febadb429a5 (patch)
tree8e800a45cc749411d9d32c0b73ac4000f9de796f /libexec/lockspool/lockspool.c
parent1081c114a42d09e9086d38d6239392d64234f646 (diff)
use _exit() in signal handler
Diffstat (limited to 'libexec/lockspool/lockspool.c')
-rw-r--r--libexec/lockspool/lockspool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/lockspool/lockspool.c b/libexec/lockspool/lockspool.c
index a6be3cef9e6..3133e9f8ca9 100644
--- a/libexec/lockspool/lockspool.c
+++ b/libexec/lockspool/lockspool.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lockspool.c,v 1.2 1998/09/27 20:23:02 millert Exp $ */
+/* $OpenBSD: lockspool.c,v 1.3 2001/01/17 19:22:20 deraadt Exp $ */
/*
* Copyright (c) 1998 Theo de Raadt <deraadt@theos.com>
@@ -29,7 +29,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: lockspool.c,v 1.2 1998/09/27 20:23:02 millert Exp $";
+static char rcsid[] = "$OpenBSD: lockspool.c,v 1.3 2001/01/17 19:22:20 deraadt Exp $";
#endif /* not lint */
#include <sys/signal.h>
@@ -101,7 +101,7 @@ unhold(sig)
{
rellock();
- exit(0);
+ _exit(0);
}
void