BUG/MINOR: pools: use %u not %d to report pool stats in "show pools"
authorWilly Tarreau <w@1wt.eu>
Wed, 6 May 2020 15:10:37 +0000 (17:10 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 20 May 2020 17:09:10 +0000 (19:09 +0200)
commit3a8d4136beff9c5f582c601b87498a9133802728
treef329488c79ea6d9762486abf92f156dfbf8f3ade
parent6e9c16696edf6107e9cc377d539410f5de9198f9
BUG/MINOR: pools: use %u not %d to report pool stats in "show pools"

In dump_pools_to_trash() we happen to use %d to display unsigned ints!

This has probably been there since "show pools" was introduced so this
fix must be backported to all versions. The impact is negligible since
no pool uses 2 billion entries. It could possibly affect the report of
failed allocation counts but in this case there's a bigger problem to
solved!

(cherry picked from commit cece694bcca10ec4d81346131297e66e35477dca)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
src/memory.c