fix warnings during compile

This commit is contained in:
Sam Armstrong 2018-09-27 17:24:27 +10:00
parent f36cd5c180
commit 3681f65a68
1 changed files with 2 additions and 2 deletions

View File

@ -195,11 +195,11 @@ void Image2RTSPNodelet::url_disconnected(string url) {
} }
void Image2RTSPNodelet::print_info(char *s) { void Image2RTSPNodelet::print_info(char *s) {
NODELET_INFO(s); NODELET_INFO("%s",s);
} }
void Image2RTSPNodelet::print_error(char *s) { void Image2RTSPNodelet::print_error(char *s) {
NODELET_ERROR(s); NODELET_ERROR("%s",s);
} }
PLUGINLIB_EXPORT_CLASS(image2rtsp::Image2RTSPNodelet, nodelet::Nodelet) PLUGINLIB_EXPORT_CLASS(image2rtsp::Image2RTSPNodelet, nodelet::Nodelet)