summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2019-11-29 08:40:58 -0500
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-12-02 15:16:12 +0000
commit77d760d708dcfe35aa805bd86381bc0bcb28f677 (patch)
treeb0d9831488db7abff1cddffd3245833a5a16a760
parentfeabb77a4823d21bbf1aae48b3c6acfa50689344 (diff)
classify: debug cli %v not %s
Type: fix Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I294f0b773375f6dce020b771db0726ceb5d812cc (cherry picked from commit 3268a64d3c9e60d69b3b12d6c6bf1987394275d2)
-rwxr-xr-xsrc/vnet/classify/vnet_classify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/classify/vnet_classify.c b/src/vnet/classify/vnet_classify.c
index fb61401b49c..938f583ef57 100755
--- a/src/vnet/classify/vnet_classify.c
+++ b/src/vnet/classify/vnet_classify.c
@@ -2001,7 +2001,7 @@ show_classify_filter_command_fn (vlib_main_t * vm,
s = format (s, " none");
}
- vlib_cli_output (vm, "%-30s table(s)%s", name, s);
+ vlib_cli_output (vm, "%-30v table(s)%v", name, s);
vec_reset_length (s);
}
else
@@ -2014,7 +2014,7 @@ show_classify_filter_command_fn (vlib_main_t * vm,
else
s = format (s, " none");
- vlib_cli_output (vm, "%-30s first table%s", name, s);
+ vlib_cli_output (vm, "%-30v first table%v", name, s);
vec_reset_length (s);
}
vec_reset_length (name);