From 1f40ab467aa590381c68aac44a8d086323c04c32 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 13 Jun 2023 17:18:56 -0700 Subject: vcl: fix debug logging of mapped segments Type: improvement Signed-off-by: Florin Coras Change-Id: I73034cdba51157466713884c3fbeae7054d92ad7 --- src/vcl/vcl_private.c | 2 +- src/vcl/vppcom.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/vcl/vcl_private.c b/src/vcl/vcl_private.c index 847e32c80f0..059acdf97eb 100644 --- a/src/vcl/vcl_private.c +++ b/src/vcl/vcl_private.c @@ -479,7 +479,7 @@ vcl_segment_detach (u64 segment_handle) clib_rwlock_writer_unlock (&vcm->segment_table_lock); - VDBG (0, "detached segment %u handle %u", segment_index, segment_handle); + VDBG (0, "detached segment %u handle %lx", segment_index, segment_handle); } void diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c index f2166f851ae..f92e97c7934 100644 --- a/src/vcl/vppcom.c +++ b/src/vcl/vppcom.c @@ -969,7 +969,7 @@ vcl_session_app_del_segment_handler (vcl_worker_t * wrk, void *data) { session_app_del_segment_msg_t *msg = (session_app_del_segment_msg_t *) data; vcl_segment_detach (msg->segment_handle); - VDBG (1, "Unmapped segment: %d", msg->segment_handle); + VDBG (1, "Unmapped segment: %lx", msg->segment_handle); } static void -- cgit 1.2.3-korg