mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Stats: Fix a printing bug when hpa_dirty_mult = -1
Missed a layer of indirection.
This commit is contained in:
parent
4f7cb3a413
commit
1f688490e1
1 changed files with 2 additions and 1 deletions
|
|
@ -1476,8 +1476,9 @@ stats_general_print(emitter_t *emitter) {
|
|||
* representation.
|
||||
*/
|
||||
if (u32v == (uint32_t)-1) {
|
||||
const char *neg1 = "-1";
|
||||
emitter_kv(emitter, "hpa_dirty_mult",
|
||||
"opt.hpa_dirty_mult", emitter_type_string, "-1");
|
||||
"opt.hpa_dirty_mult", emitter_type_string, &neg1);
|
||||
} else {
|
||||
char buf[FXP_BUF_SIZE];
|
||||
fxp_print(u32v, buf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue