aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeorgy Borodin <bor1-go@yandex-team.ru>2024-01-08 22:00:59 +0100
committerDamjan Marion <dmarion@0xa5.net>2024-01-16 22:07:46 +0000
commitc018204aaf4efddb5a5c1e71fe0790646cb77297 (patch)
tree43e1ad10812837a86f6683310641d2bfc5e23775 /src
parent0bef4cf39cccb5f162389009a4348d7f000e28fb (diff)
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 <bor1-go@yandex-team.ru>
Diffstat (limited to 'src')
-rw-r--r--src/vnet/interface.c3
1 files changed, 1 insertions, 2 deletions
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)