aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-06-02 23:35:09 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-06-02 23:38:32 +0530
commit9fa76613d0df2a23e2b979e2303b12d617d6729d (patch)
tree648ef42cf2e10a0d1a65bcca8f38ac21df456e28
parenta88dadbed5d7589ac7880efe62ea511844107795 (diff)
downloadglibc-9fa76613d0df2a23e2b979e2303b12d617d6729d.tar
glibc-9fa76613d0df2a23e2b979e2303b12d617d6729d.tar.gz
glibc-9fa76613d0df2a23e2b979e2303b12d617d6729d.tar.bz2
glibc-9fa76613d0df2a23e2b979e2303b12d617d6729d.zip
Fix format specifier for n_mmaps
-rw-r--r--ChangeLog5
-rw-r--r--malloc/malloc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a55607df7..75cd049b1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
+
+ * malloc/malloc.c (malloc_info): Fix format specifier for
+ n_mmaps.
+
2014-06-02 Wilco <wdijkstr@arm.com>
* sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 79b109d344..d8fd8b49e4 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -5148,7 +5148,7 @@ malloc_info (int options, FILE *fp)
fprintf (fp,
"<total type=\"fast\" count=\"%zu\" size=\"%zu\"/>\n"
"<total type=\"rest\" count=\"%zu\" size=\"%zu\"/>\n"
- "<total type=\"mmap\" count=\"%zu\" size=\"%zu\"/>\n"
+ "<total type=\"mmap\" count=\"%d\" size=\"%zu\"/>\n"
"<system type=\"current\" size=\"%zu\"/>\n"
"<system type=\"max\" size=\"%zu\"/>\n"
"<aspace type=\"total\" size=\"%zu\"/>\n"