kill: Correct pid type
Previous commit used a pid type of int in the printf, this should be a long.
This commit is contained in:
parent
1794875ab6
commit
672eea2832
2
skill.c
2
skill.c
@ -500,7 +500,7 @@ static void __attribute__ ((__noreturn__))
|
|||||||
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…
Reference in New Issue
Block a user