aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk/device
diff options
context:
space:
mode:
authorGeorgy Borodin <bor1-go@yandex-team.ru>2024-01-08 21:34:24 +0100
committerDamjan Marion <dmarion@0xa5.net>2024-01-16 22:02:58 +0000
commitdbe9937b72a3752b112d7ab09e9c94c4cc4e55d3 (patch)
treef46b082e37de789f3a47ad52ebd19d6c6b3f338b /src/plugins/dpdk/device
parent1cfac4e6e4b396c4c9faaa4115b6c4940204aa3f (diff)
dpdk: fix log_debug message format
debug+asan build will fail on initialisation when log level==debug Type: fix Fixes: 549838c81bd0d995f2b8569955afc33132582c77 Change-Id: Ic64b376727d49f89790fb29bd03a0a2520625cdc Signed-off-by: Georgy Borodin <bor1-go@yandex-team.ru>
Diffstat (limited to 'src/plugins/dpdk/device')
-rw-r--r--src/plugins/dpdk/device/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c
index b76455ba60d..c701631d930 100644
--- a/src/plugins/dpdk/device/init.c
+++ b/src/plugins/dpdk/device/init.c
@@ -458,7 +458,7 @@ dpdk_lib_init (dpdk_main_t * dm)
hi->numa_node = xd->cpu_socket = numa_node;
sw = vnet_get_hw_sw_interface (vnm, xd->hw_if_index);
xd->sw_if_index = sw->sw_if_index;
- dpdk_log_debug ("[%u] interface %s created", port_id, hi->name);
+ dpdk_log_debug ("[%u] interface %v created", port_id, hi->name);
if (devconf->tag)
vnet_set_sw_interface_tag (vnm, devconf->tag, sw->sw_if_index);