mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-08 08:07:10 +02:00
CONTRIB: halog: fix build issue caused by %L printf format
%Ld isn't standard, %lld is more portable. In addition, the format should be %llu since the printed values are unsigned. This should address issue #1013.
This commit is contained in:
parent
c7ead07b9c
commit
2df860cb13
@ -1288,7 +1288,7 @@ int main(int argc, char **argv)
|
|||||||
node = eb_last(&timers[0]);
|
node = eb_last(&timers[0]);
|
||||||
while (node) {
|
while (node) {
|
||||||
ustat = container_of(node, struct url_stat, node.url.node);
|
ustat = container_of(node, struct url_stat, node.url.node);
|
||||||
printf("%d %d %Ld %Ld %Ld %Ld %Ld %Ld %s\n",
|
printf("%d %d %llu %llu %llu %llu %llu %llu %s\n",
|
||||||
ustat->nb_req,
|
ustat->nb_req,
|
||||||
ustat->nb_err,
|
ustat->nb_err,
|
||||||
ustat->total_time,
|
ustat->total_time,
|
||||||
|
Loading…
Reference in New Issue
Block a user