summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-10-30 17:38:56 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-10-30 17:38:56 (GMT)
commitd26db0af91e1ea5c30d9bea820a36e9a50414bdd (patch)
treeded2d36c826b8b3a77f9698c77f028cabddaf6d3
parent4b78390eda6b3b6c5757f44ba62839b6db56a500 (diff)
downloadhdf5-d26db0af91e1ea5c30d9bea820a36e9a50414bdd.zip
hdf5-d26db0af91e1ea5c30d9bea820a36e9a50414bdd.tar.gz
hdf5-d26db0af91e1ea5c30d9bea820a36e9a50414bdd.tar.bz2
[svn-r2752] Purpose:
Bug fix Description: There is typo in the H5D_write function which reported the optimized write failure as a H5E_READERROR. Solution: Replaced it with the correct H5E_WRITEERROR code. Platforms tested: modi4 parallel (compiled H5D.o only).
-rw-r--r--src/H5D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5D.c b/src/H5D.c
index ec8bf0f..fdab7c5 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -2091,7 +2091,7 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
mem_space, dxpl_id, buf, &must_convert/*out*/);
if (status<0) {
/* Supports only no conversion, type or space, for now. */
- HGOTO_ERROR(H5E_DATASET, H5E_READERROR, FAIL,
+ HGOTO_ERROR(H5E_DATASET, H5E_WRITEERROR, FAIL,
"optimized write failed");
}
if (must_convert) {