dpdk: fix log_debug message format

debug+asan build will fail on initialisation when log level==debug

Type: fix
Fixes: 549838c81b
Change-Id: Ic64b376727d49f89790fb29bd03a0a2520625cdc
Signed-off-by: Georgy Borodin <bor1-go@yandex-team.ru>
This commit is contained in:
Georgy Borodin
2024-01-08 21:34:24 +01:00
committed by Damjan Marion
parent 1cfac4e6e4
commit dbe9937b72

View 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);