From c018204aaf4efddb5a5c1e71fe0790646cb77297 Mon Sep 17 00:00:00 2001 From: Georgy Borodin Date: Mon, 8 Jan 2024 22:00:59 +0100 Subject: 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 --- src/vnet/interface.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/vnet/interface.c') 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) -- cgit 1.2.3-korg