From: Georgy Borodin Date: Mon, 8 Jan 2024 21:00:59 +0000 (+0100) Subject: vnet: fix log_debug message format X-Git-Tag: v24.06-rc0~25 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=c018204aaf4efddb5a5c1e71fe0790646cb77297;p=vpp.git vnet: fix log_debug message format debug+asan build will fail on initialisation when loglevel==debug Type: fix Fixes: 1cd0e5dd533f4209dde453eaa43215e52cd42985 Change-Id: I2005ebf9b95ec3b753c4e6d29337be460c77ffed Signed-off-by: Georgy Borodin --- diff --git a/src/vnet/interface.c b/src/vnet/interface.c index 44bcc39d3cd..706692ca04d 100644 --- a/src/vnet/interface.c +++ b/src/vnet/interface.c @@ -777,8 +777,7 @@ vnet_hw_interface_set_max_frame_size (vnet_main_t *vnm, u32 hw_if_index, vnet_hw_interface_class_t *hw_if_class = vnet_get_hw_interface_class (vnm, hi->hw_class_index); clib_error_t *err = 0; - - log_debug ("set_max_frame_size: interface %s, max_frame_size %u -> %u", + log_debug ("set_max_frame_size: interface %v, max_frame_size %u -> %u", hi->name, hi->max_frame_size, fs); if (hw_if_class->set_max_frame_size == 0)