Code Review
/
odp4vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a67c418
)
Print worker thread name as a c-string, not a vector. Otherwise, the
author
Dave Barach
<
[email protected]
>
Wed, 27 Jan 2016 15:27:33 +0000
(10:27 -0500)
committer
Dave Barach
<
[email protected]
>
Wed, 27 Jan 2016 15:27:43 +0000
(10:27 -0500)
output is certain to contain a NULL byte.
Change-Id: Id80e1334d7a2cb6788f1db33cde142f84826db36
Signed-off-by: Dave Barach <
[email protected]
>
vlib/vlib/node_cli.c
patch
|
blob
|
history
diff --git
a/vlib/vlib/node_cli.c
b/vlib/vlib/node_cli.c
index
59f5623
..
13a1b91
100644
(file)
--- a/
vlib/vlib/node_cli.c
+++ b/
vlib/vlib/node_cli.c
@@
-335,10
+335,10
@@
show_node_runtime (vlib_main_t * vm,
vlib_cli_output (vm, "---------------");
if ( w->dpdk_lcore_id > -1)
- vlib_cli_output (vm, "Thread %d %
v
(lcore %u)", j, w->name,
+ vlib_cli_output (vm, "Thread %d %
s
(lcore %u)", j, w->name,
w->dpdk_lcore_id);
else
- vlib_cli_output (vm, "Thread %d %
v
", j,
+ vlib_cli_output (vm, "Thread %d %
s
", j,
w->name);
}