From: Sebastien GODARD Date: Sun, 27 Mar 2022 13:34:14 +0000 (+0200) Subject: sar: A_NET_SOFT: Fix JSON/XML output X-Git-Tag: v12.6.0~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6abbc20d3f64efb22f9d16be803c3d384eccf9ea;p=sysstat sar: A_NET_SOFT: Fix JSON/XML output Remove extra comma. Signed-off-by: Sebastien GODARD --- 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),