Commit 672eea28 authored by Craig Small's avatar Craig Small

kill: Correct pid type

Previous commit used a pid type of int in the printf, this should
be a long.
parent 1794875a
......@@ -500,7 +500,7 @@ static void __attribute__ ((__noreturn__))
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment