summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-12-21 18:45:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-12-21 18:45:55 +0000
commit98535b7c16eaa01c99cf50771b7fd8c80c33e3ec (patch)
treec0bdf5f665bea6ed3aa2cf3dae2b6707eca676cb
parentf772c0dc041376b632456fb36bc704ada76dd7cf (diff)
parent_exit() signal handler must use _exit() not exit()
-rw-r--r--usr.sbin/amd/amd/amd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/amd/amd/amd.c b/usr.sbin/amd/amd/amd.c
index a71f5ea60d3..558fa7115c9 100644
--- a/usr.sbin/amd/amd/amd.c
+++ b/usr.sbin/amd/amd/amd.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*
* from: @(#)amd.c 8.1 (Berkeley) 6/6/93
- * $Id: amd.c,v 1.16 2009/10/27 23:59:50 deraadt Exp $
+ * $Id: amd.c,v 1.17 2010/12/21 18:45:54 deraadt Exp $
*/
/*
@@ -132,7 +132,7 @@ sighup(int sig)
static void
parent_exit(int sig)
{
- exit(0);
+ _exit(0);
}
static pid_t