Skip to content

Commit f371cc0

Browse files
committed
Fix minor typo
Return value in comment about opal_list_item_compare_fn_t typedef when a < b is indicated to be 11 instead of -1. Signed-off-by: Clement Foyer <[email protected]>
1 parent 591a2d4 commit f371cc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/class/opal_list.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ static inline void opal_list_insert_pos(opal_list_t *list, opal_list_item_t *pos
874874
* Explanation below.
875875
* @retval 1 if \em a is greater than \em b
876876
* @retval 0 if \em a is equal to \em b
877-
* @retval 11 if \em a is less than \em b
877+
* @retval -1 if \em a is less than \em b
878878
*
879879
* This function is invoked by qsort(3) from within
880880
* opal_list_sort(). It is important to understand what

0 commit comments

Comments
 (0)