kill: Correct pid type
Previous commit used a pid type of int in the printf, this should be a long. References: commit 5e9c522eeade3a2cb1f5679db84d8164b405860d
This commit is contained in:
parent
96e6600c84
commit
96da4bad5e
2
kill.c
2
kill.c
@ -132,7 +132,7 @@ int main(int argc, char **argv)
|
|||||||
pid = strtol_or_err(argv[i], _("failed to parse argument"));
|
pid = strtol_or_err(argv[i], _("failed to parse argument"));
|
||||||
if (!kill((pid_t) pid, signo))
|
if (!kill((pid_t) pid, signo))
|
||||||
continue;
|
continue;
|
||||||
error(0, errno, "(%d)", pid);
|
error(0, errno, "(%ld)", pid);
|
||||||
exitvalue = EXIT_FAILURE;
|
exitvalue = EXIT_FAILURE;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user