diff --git a/Shell/Shell.cpp b/Shell/Shell.cpp index 99ba9c4327..be5d61304e 100644 --- a/Shell/Shell.cpp +++ b/Shell/Shell.cpp @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include @@ -581,7 +582,7 @@ RefPtr Shell::run_command(const AST::Command& command) if (!job->exited()) return; if (job->is_running_in_background()) - fprintf(stderr, "Shell: Job %d(%s) exited\n", job->pid(), job->cmd().characters()); + fprintf(stderr, "Shell: Job %" PRIu64 "(%s) exited\n", job->job_id(), job->cmd().characters()); job->disown(); };