From b0749abef7f3c2660bea356032c0e56dad774264 Mon Sep 17 00:00:00 2001 From: Sebastien Godard Date: Sun, 19 Sep 2010 16:04:31 +0200 Subject: [PATCH] Fixed XML output for hugepages utilization statistics. Indentation was wrong after displaying hugepages stats in XML format. --- prf_stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prf_stats.c b/prf_stats.c index 2964c30..4bcdeef 100644 --- a/prf_stats.c +++ b/prf_stats.c @@ -2881,7 +2881,7 @@ __print_funct_t xml_print_memory_stats(struct activity *a, int curr, int tab, xprintf(tab, "%lu", smc->tlhkb - smc->frhkb); - xprintf(tab, "%.2f", + xprintf(tab--, "%.2f", smc->tlhkb ? SP_VALUE(smc->frhkb, smc->tlhkb, smc->tlhkb) : 0.0); -- 2.40.0