summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mjit.c b/mjit.c
index fb4b153cc3..49bac227a0 100644
--- a/mjit.c
+++ b/mjit.c
@@ -422,8 +422,9 @@ exec_process(const char *path, char *const argv[])
: waitpid(pid, &stat, 0);
if (r == -1) {
if (errno == EINTR) continue;
- fprintf(stderr, "[%d] waitpid(%d): %s\n",
- getpid(), pid, strerror(errno));
+ fprintf(stderr, "[%d] waitpid(%d): %s (SIGCHLD=%d,%u)\n",
+ getpid(), pid, strerror(errno),
+ RUBY_SIGCHLD, SIGCHLD_LOSSY);
break;
}
else if (r == pid) {