diff options
| author | Jason Evans <jasone@canonware.com> | 2016-04-11 18:47:18 -0700 |
|---|---|---|
| committer | Jason Evans <jasone@canonware.com> | 2016-04-11 18:47:18 -0700 |
| commit | e7642715ac535cf88585d4e5ca191c8042cc2399 (patch) | |
| tree | afe18c2dbecfbfed3ecaab503994350f39dd0c0a /src/stats.c | |
| parent | 667eca2ac215153855e62a75263df7accf25cdbc (diff) | |
| download | platform_external_jemalloc_new-e7642715ac535cf88585d4e5ca191c8042cc2399.tar.gz platform_external_jemalloc_new-e7642715ac535cf88585d4e5ca191c8042cc2399.tar.bz2 platform_external_jemalloc_new-e7642715ac535cf88585d4e5ca191c8042cc2399.zip | |
Fix malloc_stats_print() to print correct opt.narenas value.
This regression was caused by 8f683b94a751c65af8f9fa25970ccf2917b96bb8
(Make opt_narenas unsigned rather than size_t.).
Diffstat (limited to 'src/stats.c')
| -rw-r--r-- | src/stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c index a7249479..87b09e58 100644 --- a/src/stats.c +++ b/src/stats.c @@ -468,7 +468,7 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque, #define OPT_WRITE_UNSIGNED(n) \ if (je_mallctl("opt."#n, &uv, &usz, NULL, 0) == 0) { \ malloc_cprintf(write_cb, cbopaque, \ - " opt."#n": %zu\n", sv); \ + " opt."#n": %u\n", uv); \ } #define OPT_WRITE_SIZE_T(n) \ if (je_mallctl("opt."#n, &sv, &ssz, NULL, 0) == 0) { \ |
