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.
diff --git a/src/checks.c b/src/checks.c
index 0571c58..18faa9b 100644
--- a/src/checks.c
+++ b/src/checks.c
@@ -1843,7 +1843,7 @@
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);