diff --git a/kill.c b/kill.c index 39386df2..b3c9a5fe 100644 --- a/kill.c +++ b/kill.c @@ -132,7 +132,7 @@ int main(int argc, char **argv) pid = strtol_or_err(argv[i], _("failed to parse argument")); if (!kill((pid_t) pid, signo)) continue; - error(0, errno, "(%d)", pid); + error(0, errno, "(%ld)", pid); exitvalue = EXIT_FAILURE; continue; }