diff --git a/joint_trajectory_controller/src/joint_trajectory_controller.cpp b/joint_trajectory_controller/src/joint_trajectory_controller.cpp
index 57f5967ad0..51a1d006d1 100644
--- a/joint_trajectory_controller/src/joint_trajectory_controller.cpp
+++ b/joint_trajectory_controller/src/joint_trajectory_controller.cpp
@@ -1010,8 +1010,8 @@ controller_interface::CallbackReturn JointTrajectoryController::on_activate(
       // deactivate timeout
       RCLCPP_WARN(
         get_node()->get_logger(),
-        "Command timeout must be higher than goal_time tolerance (%f vs. %f)",
-        params_.cmd_timeout, default_tolerances_.goal_time_tolerance);
+        "Command timeout must be higher than goal_time tolerance (%f vs. %f)", params_.cmd_timeout,
+        default_tolerances_.goal_time_tolerance);
       cmd_timeout_ = 0.0;
     }
   }