summaryrefslogtreecommitdiffstats
path: root/src/H5Ssimp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Ssimp.c')
-rw-r--r--src/H5Ssimp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Ssimp.c b/src/H5Ssimp.c
index a785b35..a7580c3 100644
--- a/src/H5Ssimp.c
+++ b/src/H5Ssimp.c
@@ -383,7 +383,7 @@ H5S_simp_mgath (const void *buf, size_t elmt_size,
/* Argument type problems to be fixed later..... -RPM */
if ((space_ndims=H5S_get_hyperslab (mem_space, mem_offset_signed,
hsize, sample))<0) {
- HRETURN_ERROR (H5E_DATASPACE, H5E_CANTINIT, FAIL,
+ HRETURN_ERROR (H5E_DATASPACE, H5E_CANTINIT, 0,
"unable to retrieve hyperslab parameters");
}
for (i=0; i<space_ndims; i++) {