From 8be724999873ec2409ab3f36d4247c04ed883873 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 1 Jun 2020 15:14:01 +0200 Subject: Use WCOREDUMP rather than __WCOREDUMP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- sctrace.c | 4 ++-- 1 file 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); -- cgit v1.2.3-70-g09d2