Skip to content

Commit

Permalink
Fix missing printf arg in fork_func
Browse files Browse the repository at this point in the history
This should have been part of:
    2024-01-13 Add fork_func.{c,h}
    ebfe5c8

Reported by:	Coverity scan
  • Loading branch information
gperciva committed Jan 14, 2024
1 parent 4b2eb56 commit b843759
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/fork_func.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b843759

Please sign in to comment.