summaryrefslogtreecommitdiff
path: root/bin/dd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-22 23:52:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-22 23:52:36 +0000
commit46ddffab2646372ea2b2da6815397809abe58c77 (patch)
tree16ffaea8e47877f0b230fede3321bbfedc925b97 /bin/dd
parentcd7f2dc11407d4e8345a411f4125d1c17a156ce2 (diff)
do not exit() from signal handler
Diffstat (limited to 'bin/dd')
-rw-r--r--bin/dd/misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/dd/misc.c b/bin/dd/misc.c
index 40bc4808377..b85931a6438 100644
--- a/bin/dd/misc.c
+++ b/bin/dd/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.7 1997/09/12 04:33:24 millert Exp $ */
+/* $OpenBSD: misc.c,v 1.8 2001/06/22 23:52:35 deraadt Exp $ */
/* $NetBSD: misc.c,v 1.4 1995/03/21 09:04:10 cgd Exp $ */
/*-
@@ -42,7 +42,7 @@
#if 0
static char sccsid[] = "@(#)misc.c 8.3 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: misc.c,v 1.7 1997/09/12 04:33:24 millert Exp $";
+static char rcsid[] = "$OpenBSD: misc.c,v 1.8 2001/06/22 23:52:35 deraadt Exp $";
#endif
#endif /* not lint */
@@ -106,5 +106,5 @@ terminate(notused)
int notused;
{
- exit(0);
+ _exit(0);
}