summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Sullivan <jsrhbz@kanargh.force9.co.uk>2009-10-29 21:50:35 -0700
committerUlrich Drepper <drepper@redhat.com>2009-10-29 21:50:35 -0700
commitee6f35389c751b93fd7298ec02f642587d996c71 (patch)
treead62e97791ac9afc3fbac3e989a9e71b099247c6
parent5debe363133d76bfaf60597392ce2629a1920506 (diff)
downloadglibc-ee6f35389c751b93fd7298ec02f642587d996c71.tar.gz
Fix typos in format strings of malloc_info.
-rw-r--r--ChangeLog4
-rw-r--r--malloc/malloc.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0ed1d5cdd1..ed055a7f3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-10-29 Ulrich Drepper <drepper@redhat.com>
+ [BZ #10553]
+ * malloc/malloc.c (malloc_info): Fix typos in format strings.
+ Patch by John Sullivan <jsrhbz@kanargh.force9.co.uk>.
+
[BZ #10564]
* login/utmp_file.c (TIMEOUT): Increase to 10.
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 79ba6b6f06..ea10d17f85 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -6474,8 +6474,8 @@ malloc_info (int options, FILE *fp)
fprintf (fp,
"<total type=\"fast\" count=\"%zu\" size=\"%zu\"/>\n"
"<total type=\"rest\" count=\"%zu\" size=\"%zu\"/>\n"
- "<system type=\"current\" size=\"%zu\n/>\n"
- "<system type=\"max\" size=\"%zu\n/>\n"
+ "<system type=\"current\" size=\"%zu\"/>\n"
+ "<system type=\"max\" size=\"%zu\"/>\n"
"<aspace type=\"total\" size=\"%zu\"/>\n"
"<aspace type=\"mprotect\" size=\"%zu\"/>\n"
"</malloc>\n",