From dbe9937b72a3752b112d7ab09e9c94c4cc4e55d3 Mon Sep 17 00:00:00 2001 From: Georgy Borodin Date: Mon, 8 Jan 2024 21:34:24 +0100 Subject: 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 --- src/plugins/dpdk/device/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/dpdk/device/init.c') 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); -- cgit 1.2.3-korg