diff --git a/util/fork_func.c b/util/fork_func.c index 77d7bd1c..5aed378d 100644 --- a/util/fork_func.c +++ b/util/fork_func.c @@ -68,7 +68,8 @@ fork_func_wait(pid_t pid) warn0("pid %jd: terminated with signal %d", (intmax_t)pid, WTERMSIG(status)); else - warn0("pid %jd: exited for an unknown reason"); + warn0("pid %jd: exited for an unknown reason", + (intmax_t)pid); } err0: