aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sctrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sctrace.c b/sctrace.c
index 1d8f787..715d0dc 100644
--- a/sctrace.c
+++ b/sctrace.c
@@ -257,11 +257,11 @@ main(int argc, char **argv)
exit_code = status;
if (WIFEXITED(status)) {
tprintf(proc, "\nProcess exited with value %i%s\n", WEXITSTATUS(status),
- __WCOREDUMP(status) ? ", core dumped" : "");
+ WCOREDUMP(status) ? ", core dumped" : "");
} else {
tprintf(proc, "\nProcess terminated by signal %i (%s: %s)%s\n", WTERMSIG(status),
get_signum_name(WTERMSIG(status)), strsignal(WTERMSIG(status)),
- __WCOREDUMP(status) ? ", core dumped" : "");
+ WCOREDUMP(status) ? ", core dumped" : "");
}
proc2 = proc->continue_on_exit;
remove_process(proc);