Fixed all -Werror=format-security

This commit is contained in:
matlabbe
2024-01-09 18:25:41 -08:00
parent 1979ba2ad8
commit d044c1e092
4 changed files with 4 additions and 4 deletions
@@ -88,7 +88,7 @@ private:
if(ros::Time::now().toSec()-lastCallbackCalledStamp_ >= 5 && !topicsNotReceivedWarningMsg_.empty())
{
ROS_WARN_THROTTLE(5, topicsNotReceivedWarningMsg_.c_str());
ROS_WARN_THROTTLE(5, "%s", topicsNotReceivedWarningMsg_.c_str());
}
}