Skip to content

Commit

Permalink
Fix typo in error message for MPI_Type_dup. (HDFGroup#3867)
Browse files Browse the repository at this point in the history
  • Loading branch information
1uc authored and jhendersonHDF committed Dec 7, 2023
1 parent 02201e3 commit 75f8845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/H5Smpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ H5S__mpio_span_hyper_type(const H5S_t *space, size_t elmt_size, MPI_Datatype *ne
&type_list, 0, op_gen) < 0)
HGOTO_ERROR(H5E_DATASPACE, H5E_BADTYPE, FAIL, "couldn't obtain MPI derived data type");
if (MPI_SUCCESS != (mpi_code = MPI_Type_dup(span_type, new_type)))
HMPI_GOTO_ERROR(FAIL, "MPI_Type_commit failed", mpi_code)
HMPI_GOTO_ERROR(FAIL, "MPI_Type_dup failed", mpi_code)
if (MPI_SUCCESS != (mpi_code = MPI_Type_commit(new_type)))
HMPI_GOTO_ERROR(FAIL, "MPI_Type_commit failed", mpi_code)

Expand Down

0 comments on commit 75f8845

Please sign in to comment.