BUILD: checks: kill a minor warning on Solaris in external checks
Gcc on Solaris complains that elem->pid is pid_t and that we display it as int. A simple cast fixes this. No backport needed, this is 1.6 only.
This commit is contained in:
parent
9b39dc5e49
commit
dc3d190b2c
|
@ -1843,7 +1843,7 @@ static struct task *process_chk_proc(struct task *t)
|
|||
status = HCHK_STATUS_PROCOK;
|
||||
} else if (expired) {
|
||||
status = HCHK_STATUS_PROCTOUT;
|
||||
Warning("kill %d\n", elem->pid);
|
||||
Warning("kill %d\n", (int)elem->pid);
|
||||
kill(elem->pid, SIGTERM);
|
||||
}
|
||||
set_server_check_status(check, status, NULL);
|
||||
|
|
Loading…
Reference in New Issue