summaryrefslogtreecommitdiffstats
path: root/src/H5Sall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Sall.c')
-rw-r--r--src/H5Sall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Sall.c b/src/H5Sall.c
index ea6eda0..c5cf909 100644
--- a/src/H5Sall.c
+++ b/src/H5Sall.c
@@ -135,7 +135,7 @@ H5S_all_favail (const H5S_t *space, const H5S_sel_iter_t *sel_iter, size_t max)
acc *= size[i];
nelmts = (max/acc) * acc;
if (nelmts<=0) {
- HRETURN_ERROR (H5E_IO, H5E_UNSUPPORTED, 0,
+ HRETURN_ERROR (H5E_IO, H5E_UNSUPPORTED, FAIL,
"strip mine buffer is too small");
}