summaryrefslogtreecommitdiff
path: root/usr.sbin/inetd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-29 11:23:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-29 11:23:29 +0000
commit8b9180ba75079deff2ecb355eeb4ae1369133dfd (patch)
treec71b4df3b186b947967045dc129416f3a9d5d545 /usr.sbin/inetd
parentaf4dec68f7db6dcc96d4d1df01ac9f27f8d4a195 (diff)
use _exit() in signal handler
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r--usr.sbin/inetd/inetd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 191def0fe0d..4157b9d5a3f 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inetd.c,v 1.74 2001/01/17 19:30:03 deraadt Exp $ */
+/* $OpenBSD: inetd.c,v 1.75 2001/01/29 11:23:28 deraadt Exp $ */
/* $NetBSD: inetd.c,v 1.11 1996/02/22 11:14:41 mycroft Exp $ */
/*
* Copyright (c) 1983,1991 The Regents of the University of California.
@@ -41,7 +41,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)inetd.c 5.30 (Berkeley) 6/3/91";*/
-static char rcsid[] = "$OpenBSD: inetd.c,v 1.74 2001/01/17 19:30:03 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: inetd.c,v 1.75 2001/01/29 11:23:28 deraadt Exp $";
#endif /* not lint */
/*
@@ -1045,7 +1045,7 @@ goaway(sig)
(void)close(sep->se_fd);
}
(void)unlink(_PATH_INETDPID);
- exit(0);
+ _exit(0);
}
int bump_nofile __P((void));