From 29396e6445922ba0ca1d4c36d4bedaacea313ad6 Mon Sep 17 00:00:00 2001 From: Klement Sekera Date: Wed, 21 Dec 2016 03:24:00 +0100 Subject: fix 'show trace' bug - format vector as %v Change-Id: I1b5e633b92674c6c7118eaa6ff7be3d824a186c3 Signed-off-by: Klement Sekera --- vlib/vlib/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/vlib/trace.c b/vlib/vlib/trace.c index 8fe3dacd806..dcdb837f16c 100644 --- a/vlib/vlib/trace.c +++ b/vlib/vlib/trace.c @@ -350,7 +350,7 @@ cli_show_trace_buffer (vlib_main_t * vm, })); /* *INDENT-ON* */ - vlib_cli_output (vm, (char *) s); + vlib_cli_output (vm, "%v", s); vec_free (s); return 0; } -- cgit 1.2.3-korg