From 6abbc20d3f64efb22f9d16be803c3d384eccf9ea Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Sun, 27 Mar 2022 15:34:14 +0200 Subject: [PATCH] sar: A_NET_SOFT: Fix JSON/XML output Remove extra comma. Signed-off-by: Sebastien GODARD --- json_stats.c | 2 +- xml_stats.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/json_stats.c b/json_stats.c index 5c32db8..532ca10 100644 --- a/json_stats.c +++ b/json_stats.c @@ -2450,7 +2450,7 @@ __print_funct_t json_print_softnet_stats(struct activity *a, int curr, int tab, "\"dropd\": %.2f, " "\"squeezd\": %.2f, " "\"rx_rps\": %.2f, " - "\"flw_lim\": %.2f, ", + "\"flw_lim\": %.2f, " "\"blg_len\": %u}", cpuno, S_VALUE(ssnp->processed, ssnc->processed, itv), diff --git a/xml_stats.c b/xml_stats.c index 654086b..4865492 100644 --- a/xml_stats.c +++ b/xml_stats.c @@ -2316,7 +2316,7 @@ __print_funct_t xml_print_softnet_stats(struct activity *a, int curr, int tab, "dropd=\"%.2f\" " "squeezd=\"%.2f\" " "rx_rps=\"%.2f\" " - "flw_lim=\"%.2f\" ", + "flw_lim=\"%.2f\" " "blg_len=\"%u\"/>", cpuno, S_VALUE(ssnp->processed, ssnc->processed, itv), -- 2.40.0