summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index 49bac227a0..faa31da2a4 100644
--- a/mjit.c
+++ b/mjit.c
@@ -422,7 +422,7 @@ 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 (SIGCHLD=%d,%u)\n",
+ fprintf(stderr, "[%d] waitpid(%"PRI_PIDT_PREFIX"d): %s (SIGCHLD=%d,%u)\n",
getpid(), pid, strerror(errno),
RUBY_SIGCHLD, SIGCHLD_LOSSY);
break;