diff options
-rw-r--r-- | src/lib9/await.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib9/await.c b/src/lib9/await.c index c6c7122c..b7d9265a 100644 --- a/src/lib9/await.c +++ b/src/lib9/await.c @@ -98,8 +98,7 @@ _await(char *str, int n, int opt) } if(WIFSIGNALED(status)){ cd = WCOREDUMP(status); - USED(cd); - snprint(buf, sizeof buf, "%d %lud %lud %lud '%s'", pid, u, s, u+s, _p9sigstr(WTERMSIG(status), tmp)); + snprint(buf, sizeof buf, "%d %lud %lud %lud 'signal: %s%s'", pid, u, s, u+s, _p9sigstr(WTERMSIG(status), tmp), cd ? " (core dumped)" : ""); strecpy(str, str+n, buf); return strlen(str); } |