summaryrefslogtreecommitdiffstats
path: root/src/H5VLint.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2014-07-23 21:38:44 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2014-07-23 21:38:44 (GMT)
commitad690e7be37389bdb48af7dc08b37bbd3a75aa86 (patch)
tree3d13da365c48a4e432deb367d158c1a3a13c92e1 /src/H5VLint.c
parent89456ae48793e7063298980277e718491db13813 (diff)
downloadhdf5-ad690e7be37389bdb48af7dc08b37bbd3a75aa86.zip
hdf5-ad690e7be37389bdb48af7dc08b37bbd3a75aa86.tar.gz
hdf5-ad690e7be37389bdb48af7dc08b37bbd3a75aa86.tar.bz2
[svn-r25476] - fix error output in several places.
- uncomment tests to check error output in Makefiles. - fix bug in native implementation of H5Aiterate.
Diffstat (limited to 'src/H5VLint.c')
-rw-r--r--src/H5VLint.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5VLint.c b/src/H5VLint.c
index 65250a1..fe3b794 100644
--- a/src/H5VLint.c
+++ b/src/H5VLint.c
@@ -523,7 +523,7 @@ H5VL_attr_open(void *obj, H5VL_loc_params_t loc_params, H5VL_t *vol_plugin, cons
HGOTO_ERROR(H5E_VOL, H5E_UNSUPPORTED, NULL, "vol plugin has no `attr open' method")
/* call the corresponding VOL open callback */
if(NULL == (ret_value = (vol_plugin->cls->attr_cls.open) (obj, loc_params, name, aapl_id, dxpl_id, H5_REQUEST_NULL)))
- HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, NULL, "attribute open failed")
+ HGOTO_ERROR(H5E_VOL, H5E_CANTOPENOBJ, NULL, "attribute open failed")
vol_plugin->nrefs ++;
done:
@@ -829,7 +829,7 @@ H5VL_datatype_open(void *obj, H5VL_loc_params_t loc_params, H5VL_t *vol_plugin,
#endif
/* call the corresponding VOL open callback */
if(NULL == (ret_value = (vol_plugin->cls->datatype_cls.open)(obj, loc_params, name, tapl_id, dxpl_id, H5_REQUEST_NULL)))
- HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, NULL, "open failed")
+ HGOTO_ERROR(H5E_VOL, H5E_CANTOPENOBJ, NULL, "open failed")
vol_plugin->nrefs ++;
done:
@@ -1015,7 +1015,7 @@ H5VL_dataset_open(void *obj, H5VL_loc_params_t loc_params, H5VL_t *vol_plugin, c
else {
/* call the corresponding VOL open callback */
if(NULL == (ret_value = (vol_plugin->cls->dataset_cls.open)(obj, loc_params, name, dapl_id, dxpl_id, H5_REQUEST_NULL)))
- HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, NULL, "open failed")
+ HGOTO_ERROR(H5E_VOL, H5E_CANTOPENOBJ, NULL, "open failed")
vol_plugin->nrefs ++;
}
@@ -1599,7 +1599,7 @@ H5VL_group_open(void *obj, H5VL_loc_params_t loc_params, H5VL_t *vol_plugin, con
else {
/* call the corresponding VOL open callback */
if(NULL == (ret_value = (vol_plugin->cls->group_cls.open)(obj, loc_params, name, gapl_id, dxpl_id, H5_REQUEST_NULL)))
- HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, NULL, "open failed")
+ HGOTO_ERROR(H5E_VOL, H5E_CANTOPENOBJ, NULL, "open failed")
vol_plugin->nrefs ++;
}
done:
@@ -1882,7 +1882,7 @@ H5VL_object_open(void *obj, H5VL_loc_params_t params, H5VL_t *vol_plugin, H5I_ty
HGOTO_ERROR(H5E_VOL, H5E_UNSUPPORTED, NULL, "vol plugin has no `object open' method")
/* call the corresponding VOL open callback */
if(NULL == (ret_value = (vol_plugin->cls->object_cls.open)(obj, params, opened_type, dxpl_id, H5_REQUEST_NULL)))
- HGOTO_ERROR(H5E_VOL, H5E_CANTINIT, NULL, "open failed")
+ HGOTO_ERROR(H5E_VOL, H5E_CANTOPENOBJ, NULL, "open failed")
vol_plugin->nrefs++;
done: