aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2017-02-21 22:27:13 -0800
committerDave Barach <openvpp@barachs.net>2017-02-22 12:56:06 +0000
commit2d41f169c818219b5e8b23ed32e28ef334f39c35 (patch)
tree72c890dc02aaf80c5def96fb194924fe762da9ec
parent954898f9453032e3d08326b946f6d7007cf39610 (diff)
fix trace frame-queue unformat of index
Change-Id: Id891af5ef3c4afe877282b34cd03fc43886940a3 Signed-off-by: Matus Fabian <matfabia@cisco.com>
-rw-r--r--src/vlib/threads_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/threads_cli.c b/src/vlib/threads_cli.c
index b64028c4cf0..54cc1aed328 100644
--- a/src/vlib/threads_cli.c
+++ b/src/vlib/threads_cli.c
@@ -160,7 +160,7 @@ trace_frame_queue (vlib_main_t * vm, unformat_input_t * input,
enable = 1;
else if (unformat (line_input, "off"))
enable = 0;
- else if (unformat (line_input, "index %u"), &index)
+ else if (unformat (line_input, "index %u", &index))
;
else
return clib_error_return (0, "parse error: '%U'",