diff --git a/rmw_fastrtps_shared_cpp/src/rmw_count.cpp b/rmw_fastrtps_shared_cpp/src/rmw_count.cpp index d6cc9df3b..547fa1a2a 100644 --- a/rmw_fastrtps_shared_cpp/src/rmw_count.cpp +++ b/rmw_fastrtps_shared_cpp/src/rmw_count.cpp @@ -81,7 +81,7 @@ __rmw_count_publishers( RCUTILS_LOG_DEBUG_NAMED( "rmw_fastrtps_shared_cpp", - "looking for subscriber topic: %s, number of matches: %zu", + "looking for publisher topic: %s, number of matches: %zu", topic_name, *count); return RMW_RET_OK;