From: Georgy Borodin Date: Mon, 8 Jan 2024 20:34:24 +0000 (+0100) Subject: dpdk: fix log_debug message format X-Git-Tag: v24.06-rc0~28 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=dbe9937b72a3752b112d7ab09e9c94c4cc4e55d3;p=vpp.git 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 --- 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);