diff --git a/rclpy/src/rclpy/_rclpy_logging.c b/rclpy/src/rclpy/_rclpy_logging.c index 3a8ee7d8f..b76cbe2ae 100644 --- a/rclpy/src/rclpy/_rclpy_logging.c +++ b/rclpy/src/rclpy/_rclpy_logging.c @@ -170,7 +170,7 @@ rclpy_logging_rcutils_log(PyObject * Py_UNUSED(self), PyObject * args) return NULL; } - RCUTILS_LOGGING_AUTOINIT + RCUTILS_LOGGING_AUTOINIT; rcutils_log_location_t logging_location = {function_name, file_name, line_number}; rcutils_log(&logging_location, severity, name, "%s", message); Py_RETURN_NONE;