summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Grosheintz <luc.grosheintz@gmail.com>2023-11-22 17:06:42 (GMT)
committerGitHub <noreply@github.com>2023-11-22 17:06:42 (GMT)
commitcad5da6868abc48e43974261ed5c7bbbe85340e3 (patch)
treee1a9271474ac229a9c252c09503cf04b5debe593
parentaf4c6c4f1579802f00fa5ef24c35ce4086d78591 (diff)
downloadhdf5-cad5da6868abc48e43974261ed5c7bbbe85340e3.zip
hdf5-cad5da6868abc48e43974261ed5c7bbbe85340e3.tar.gz
hdf5-cad5da6868abc48e43974261ed5c7bbbe85340e3.tar.bz2
Fix typo in error message for `MPI_Type_dup`. (#3867)
-rw-r--r--src/H5Smpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Smpio.c b/src/H5Smpio.c
index 1e0fef5..46e6c33 100644
--- a/src/H5Smpio.c
+++ b/src/H5Smpio.c
@@ -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)