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)
committerWilly Tarreau <w@1wt.eu>
Wed, 13 May 2020 08:10:54 +0000 (10:10 +0200)
commitcece694bcca10ec4d81346131297e66e35477dca
tree14742c173743215ca5a2f256b6cff22f8723dbf2
parent325504cf89b236cb49a4deec0d147596a65537d6
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!
src/memory.c