app/testpmd: fix log after detach
authorZhiyong Yang <zhiyong.yang@intel.com>
Mon, 14 May 2018 03:20:48 +0000 (11:20 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 14 May 2018 10:51:37 +0000 (12:51 +0200)
commitadea04c495308ec849fadb85916982c2bbb6c04b
tree2791c7cdcf3b9925a23cd73502555d1c08f0d4c5
parentd00fa507790a0fae9393bbff95bd6bdc92d7dc4d
app/testpmd: fix log after detach

The second parameter "name" in the function rte_eth_dev_detach
has been already redefined as "char *name __rte_unused",
"port_id" is printed instead of "name" in testpmd.

Fixes: b65ecf199324 ("devargs: rename legacy API")
Cc: stable@dpdk.org
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Acked-by: Matan Azrad <matan@mellanox.com>
app/test-pmd/testpmd.c