summaryrefslogtreecommitdiffstats
path: root/bin/dd/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dd/misc.c')
-rw-r--r--bin/dd/misc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/dd/misc.c b/bin/dd/misc.c
index 63c4e67..4fe4a41 100644
--- a/bin/dd/misc.c
+++ b/bin/dd/misc.c
@@ -104,6 +104,5 @@ terminate(sig)
int sig;
{
- /* XXX exit() shouldn't call exit() from a signal handler. */
- exit(sig == 0 ? 0 : 1);
+ _exit(sig == 0 ? 0 : 1);
}
OpenPOWER on IntegriCloud