From 894005dc3fa75d76262885bea5d88f388dbd70e0 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Tue, 17 Dec 2024 17:11:27 +0000 Subject: [PATCH] Fix bad string print. Signed-off-by: Chris Lalancette --- rmw_zenoh_cpp/src/detail/rmw_service_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rmw_zenoh_cpp/src/detail/rmw_service_data.cpp b/rmw_zenoh_cpp/src/detail/rmw_service_data.cpp index 332f257e..9fe075a9 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_service_data.cpp +++ b/rmw_zenoh_cpp/src/detail/rmw_service_data.cpp @@ -249,7 +249,7 @@ void ServiceData::add_new_query(std::unique_ptr query) RMW_ZENOH_LOG_ERROR_NAMED( "rmw_zenoh_cpp", "Query queue depth of %ld reached, discarding oldest Query " - "for service for %.*s", + "for service for %s", adapted_qos_profile.depth, keyexpr_.c_str()); query_queue_.pop_front();