dpdk: fix log_debug message format 54/40154/3
authorGeorgy Borodin <bor1-go@yandex-team.ru>
Mon, 8 Jan 2024 20:34:24 +0000 (21:34 +0100)
committerDamjan Marion <dmarion@0xa5.net>
Tue, 16 Jan 2024 22:02:58 +0000 (22:02 +0000)
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>
src/plugins/dpdk/device/init.c

index b76455b..c701631 100644 (file)
@@ -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);