]> granicus.if.org Git - sysstat/commitdiff
sar: A_NET_SOFT: Fix JSON/XML output
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 27 Mar 2022 13:34:14 +0000 (15:34 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 27 Mar 2022 13:34:14 +0000 (15:34 +0200)
Remove extra comma.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
json_stats.c
xml_stats.c

index 5c32db8465a403b3858074e9809d71958fec4441..532ca100db4749b24e619d4cc5f61d365dbc6c3a 100644 (file)
@@ -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),
index 654086ba79f3fa2a012bc546433be5dffb2de74f..48654929076121194955857edd290ce9761e6489 100644 (file)
@@ -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),