summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2023-06-13 17:18:56 -0700
committerDave Wallace <dwallacelf@gmail.com>2023-06-14 17:51:01 +0000
commit1f40ab467aa590381c68aac44a8d086323c04c32 (patch)
tree45e3ffcffe567d29216e41fcf496937b6f4790c7
parent07e6c829507cbb3f842227db66f615dd8a262239 (diff)
vcl: fix debug logging of mapped segments
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I73034cdba51157466713884c3fbeae7054d92ad7
-rw-r--r--src/vcl/vcl_private.c2
-rw-r--r--src/vcl/vppcom.c2
2 files changed, 2 insertions, 2 deletions
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