[committed] malloc_info: fix closing </sizes> tag typo
Siddhesh Poyarekar
siddhesh@sourceware.org
Mon Dec 29 12:12:10 GMT 2025
Fix regression in commit 7447efa9622cb33a567094833f6c4000b3ed2e23
("malloc: remove fastbin code from malloc_info") where the closing
`sizes` tag had a typo, missing the '/'.
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
---
Pushed as obvious.
malloc/malloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 20f24cce9f..2e3404ab56 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -5514,7 +5514,7 @@ __malloc_info (int options, FILE *fp)
total_max_system += ar_ptr->max_system_mem;
fprintf (fp,
- "<sizes>\n"
+ "</sizes>\n"
"<total type=\"rest\" count=\"%zu\" size=\"%zu\"/>\n"
"<system type=\"current\" size=\"%zu\"/>\n"
"<system type=\"max\" size=\"%zu\"/>\n",
--
2.52.0
More information about the Libc-alpha
mailing list