Skip to content

Commit

Permalink
typo fix. (#355)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <[email protected]>
  • Loading branch information
fujitatomoya authored May 16, 2023
1 parent 36003aa commit e523e47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rmw/include/rmw/qos_profiles.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ typedef enum RMW_PUBLIC_TYPE rmw_qos_compatibility_type_e
* \param[in] reason_size: Size of the string buffer `reason`, if one is provided.
* If `reason` is `nullptr`, then this parameter must be zero.
* \return `RMW_RET_OK` if the check was successful, or
* \return `RMW_RET_INVALID_ARGUMENT` if `compatiblity` is `nullptr`, or
* \return `RMW_RET_INVALID_ARGUMENT` if `compatibility` is `nullptr`, or
* \return `RMW_RET_INVALID_ARGUMENT` if `reason` is `NULL` and `reason_size` is not zero, or
* \return `RMW_RET_ERROR` if there is an unexpected error.
*/
Expand Down
2 changes: 1 addition & 1 deletion rmw/include/rmw/rmw.h
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ rmw_destroy_publisher(rmw_node_t * node, rmw_publisher_t * publisher);
* \return `RMW_RET_INCORRECT_RMW_IMPLEMENTATION` if `publisher` implementation identifier
* does not match this implementation, or
* \return `RMW_RET_UNSUPPORTED` if the implementation does not support ROS message loaning, or
* \return `RMW_RET_ERROR` if an unexpected error occured.
* \return `RMW_RET_ERROR` if an unexpected error occurred.
*/
RMW_PUBLIC
RMW_WARN_UNUSED
Expand Down
2 changes: 1 addition & 1 deletion rmw/src/discovery_options.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ rmw_discovery_options_init(
RCUTILS_CHECK_ALLOCATOR(allocator, return RMW_RET_INVALID_ARGUMENT);

if (0 != discovery_options->static_peers_count || NULL != discovery_options->static_peers) {
RMW_SET_ERROR_MSG("discovery_options must be zero intialized");
RMW_SET_ERROR_MSG("discovery_options must be zero initialized");
return RMW_RET_INVALID_ARGUMENT;
}

Expand Down

0 comments on commit e523e47

Please sign in to comment.