]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
malloc_info: fix closing </sizes> tag typo
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 29 Dec 2025 11:53:44 +0000 (06:53 -0500)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 29 Dec 2025 12:09:30 +0000 (07:09 -0500)
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>
malloc/malloc.c

index 20f24cce9f0fa15c8838d415fa35cfa0609e9574..2e3404ab56217bb4d7d1e2c94df32132fee0d8e0 100644 (file)
@@ -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",