mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-29 22:11:18 +01:00
BUILD: dumpstats: silencing warning for printf format specifier / time_t
time_t is not necesseraly a long int (spotted in OpenBSD), so just an explicit cast to avoid the compiler warning. should be safe enough.
This commit is contained in:
parent
ce1ef4df01
commit
081b336f7d
@ -2816,7 +2816,7 @@ static void dump_servers_state(struct proxy *backend, struct chunk *buf)
|
||||
"\n",
|
||||
backend->uuid, backend->id,
|
||||
srv->puid, srv->id, srv_addr,
|
||||
srv->state, srv->admin, srv->uweight, srv->iweight, srv_time_since_last_change,
|
||||
srv->state, srv->admin, srv->uweight, srv->iweight, (long int)srv_time_since_last_change,
|
||||
srv->check.status, srv->check.result, srv->check.health, srv->check.state, srv->agent.state,
|
||||
bk_f_forced_id, srv_f_forced_id);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user