summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Goncalves <guilherme.p.gonc@gmail.com>2015-01-23 12:52:13 (GMT)
committerGuilherme Goncalves <guilherme.p.gonc@gmail.com>2015-01-23 13:01:42 (GMT)
commitec98a44662a82aff30a54ed86bd9b24f36cfe67e (patch)
tree86411000b8308ede0a9bfe829debef47f30d807a
parentbec6a8da39e8cb7e59550541d429cff5e3dfb6d8 (diff)
downloadjemalloc-ec98a44662a82aff30a54ed86bd9b24f36cfe67e.zip
jemalloc-ec98a44662a82aff30a54ed86bd9b24f36cfe67e.tar.gz
jemalloc-ec98a44662a82aff30a54ed86bd9b24f36cfe67e.tar.bz2
Use the correct type for opt.junk when printing stats.
-rw-r--r--src/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c
index 054f033..2b3da64 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -461,7 +461,7 @@ stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
OPT_WRITE_SIZE_T(narenas)
OPT_WRITE_SSIZE_T(lg_dirty_mult)
OPT_WRITE_BOOL(stats_print)
- OPT_WRITE_BOOL(junk)
+ OPT_WRITE_CHAR_P(junk)
OPT_WRITE_SIZE_T(quarantine)
OPT_WRITE_BOOL(redzone)
OPT_WRITE_BOOL(zero)