From: Craig Small Date: Sat, 2 Jul 2016 05:04:22 +0000 (+1000) Subject: kill: Correct pid type X-Git-Tag: v4.0.0~849 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96da4bad5eb29f2724494db408ab0f00d441dda4;p=procps-ng kill: Correct pid type Previous commit used a pid type of int in the printf, this should be a long. References: commit 5e9c522eeade3a2cb1f5679db84d8164b405860d --- 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; }