From 1d6b73be708d8e8e8d5438ee2c169d3992b07190 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Sun, 29 Dec 2019 10:58:13 -0800 Subject: [PATCH] tc: prio: fix space in JSON tag The priomap should not have extra space in the tag. Signed-off-by: Stephen Hemminger --- tc/q_prio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tc/q_prio.c b/tc/q_prio.c index 8ef7cfa26..a723a151b 100644 --- a/tc/q_prio.c +++ b/tc/q_prio.c @@ -108,7 +108,7 @@ int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) return -1; print_uint(PRINT_ANY, "bands", "bands %u ", qopt->bands); - open_json_array(PRINT_ANY, "priomap "); + open_json_array(PRINT_ANY, "priomap"); for (i = 0; i <= TC_PRIO_MAX; i++) print_uint(PRINT_ANY, NULL, " %d", qopt->priomap[i]); close_json_array(PRINT_ANY, ""); -- 2.47.2