summaryrefslogtreecommitdiff
path: root/sbin/slattach/slattach.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-15 20:03:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-15 20:03:33 +0000
commitb22d40939cd486ade46628bef4e1bd88a5405638 (patch)
treee72b46231d05f6be679a7968bf1d70b0f731b82a /sbin/slattach/slattach.c
parent4406d9dba97877ef008ae0f13ea68776ca0d96f7 (diff)
_exit() in signal handler
Diffstat (limited to 'sbin/slattach/slattach.c')
-rw-r--r--sbin/slattach/slattach.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/slattach/slattach.c b/sbin/slattach/slattach.c
index 1da756af1c7..5d578475999 100644
--- a/sbin/slattach/slattach.c
+++ b/sbin/slattach/slattach.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slattach.c,v 1.6 1999/06/02 18:45:39 deraadt Exp $ */
+/* $OpenBSD: slattach.c,v 1.7 2001/01/15 20:03:32 deraadt Exp $ */
/* $NetBSD: slattach.c,v 1.17 1996/05/19 21:57:39 jonathan Exp $ */
/*
@@ -47,7 +47,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)slattach.c 8.2 (Berkeley) 1/7/94";
#else
-static char rcsid[] = "$OpenBSD: slattach.c,v 1.6 1999/06/02 18:45:39 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: slattach.c,v 1.7 2001/01/15 20:03:32 deraadt Exp $";
#endif
#endif /* not lint */
@@ -192,7 +192,7 @@ int useless;
}
/* terminate gracefully */
- exit(0);
+ _exit(0);
}