diff options
-rw-r--r-- | libexec/telnetd/sys_term.c | 2 | ||||
-rw-r--r-- | usr.sbin/wsmoused/wsmoused.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libexec/telnetd/sys_term.c b/libexec/telnetd/sys_term.c index e0bf301bd93..d4675c67349 100644 --- a/libexec/telnetd/sys_term.c +++ b/libexec/telnetd/sys_term.c @@ -1653,7 +1653,7 @@ cleanup(int sig) chown(line, 0, 0); #endif shutdown(net, 2); - exit(1); + _exit(1); } #endif /* PARENT_DOES_UTMP */ diff --git a/usr.sbin/wsmoused/wsmoused.c b/usr.sbin/wsmoused/wsmoused.c index d0a80dbb2f6..65561f132cf 100644 --- a/usr.sbin/wsmoused/wsmoused.c +++ b/usr.sbin/wsmoused/wsmoused.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmoused.c,v 1.5 2001/09/20 21:22:16 miod Exp $ */ +/* $OpenBSD: wsmoused.c,v 1.6 2001/11/02 16:19:48 deraadt Exp $ */ /* * Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon @@ -231,7 +231,7 @@ terminate(int sig) mouse.mfd = -1; } unlink(pidfile); - exit(0); + _exit(0); } /* buttons status (for multiple click detection) */ |