summaryrefslogtreecommitdiffstats
path: root/src/H5Fistore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Fistore.c')
-rw-r--r--src/H5Fistore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Fistore.c b/src/H5Fistore.c
index 3fdfd0b..5e60943 100644
--- a/src/H5Fistore.c
+++ b/src/H5Fistore.c
@@ -1977,7 +1977,7 @@ H5F_istore_allocated(H5F_t *f, int ndims, haddr_t *addr)
HDmemset(&udata, 0, sizeof udata);
udata.mesg.ndims = ndims;
if (H5B_iterate(f, H5B_ISTORE, addr, &udata)<0) {
- HRETURN_ERROR(H5E_IO, H5E_INTERNAL, 0,
+ HRETURN_ERROR(H5E_IO, H5E_CANTINIT, 0,
"unable to iterate over chunk B-tree");
}
FUNC_LEAVE(udata.total_storage);
@@ -2011,7 +2011,7 @@ H5F_istore_dump_btree(H5F_t *f, FILE *stream, int ndims, haddr_t *addr)
udata.mesg.ndims = ndims;
udata.stream = stream;
if (H5B_iterate(f, H5B_ISTORE, addr, &udata)<0) {
- HRETURN_ERROR(H5E_IO, H5E_INTERNAL, 0,
+ HRETURN_ERROR(H5E_IO, H5E_CANTINIT, 0,
"unable to iterate over chunk B-tree");
}
FUNC_LEAVE(SUCCEED);