aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2016-12-21 03:24:00 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-21 17:48:53 +0000
commit29396e6445922ba0ca1d4c36d4bedaacea313ad6 (patch)
tree842d840feb91687fe5f1abed36cde345a25efb45
parent1b5ea88e1f36732f3bb8ac23ccab3f9b22d24366 (diff)
fix 'show trace' bug - format vector as %v
Change-Id: I1b5e633b92674c6c7118eaa6ff7be3d824a186c3 Signed-off-by: Klement Sekera <ksekera@cisco.com>
-rw-r--r--vlib/vlib/trace.c2
1 files changed, 1 insertions, 1 deletions
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;
}