From: Klement Sekera Date: Wed, 21 Dec 2016 02:24:00 +0000 (+0100) Subject: fix 'show trace' bug - format vector as %v X-Git-Tag: odp_vpp~865 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=29396e6445922ba0ca1d4c36d4bedaacea313ad6;p=odp4vpp.git fix 'show trace' bug - format vector as %v Change-Id: I1b5e633b92674c6c7118eaa6ff7be3d824a186c3 Signed-off-by: Klement Sekera --- diff --git a/vlib/vlib/trace.c b/vlib/vlib/trace.c index 8fe3dacd..dcdb837f 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; }