[COMMITTED] Fix format specifier for n_mmaps
Siddhesh Poyarekar
siddhesh@redhat.com
Mon Jun 2 18:11:00 GMT 2014
Hi,
I had put in the wrong format specifier for _mp>n_mmaps - it is an int
and not size_t. I have pushed the following commit as obvious.
Siddhesh
commit 9fa76613d0df2a23e2b979e2303b12d617d6729d
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date: Mon Jun 2 23:35:09 2014 +0530
Fix format specifier for n_mmaps
diff --git a/ChangeLog b/ChangeLog
index 8a55607..75cd049 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 79b109d..d8fd8b4 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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140602/4379ca4f/attachment.sig>
More information about the Libc-alpha
mailing list