From 2d41f169c818219b5e8b23ed32e28ef334f39c35 Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Tue, 21 Feb 2017 22:27:13 -0800 Subject: fix trace frame-queue unformat of index Change-Id: Id891af5ef3c4afe877282b34cd03fc43886940a3 Signed-off-by: Matus Fabian --- src/vlib/threads_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vlib/threads_cli.c') diff --git a/src/vlib/threads_cli.c b/src/vlib/threads_cli.c index b64028c4..54cc1aed 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'", -- cgit 1.2.3-korg