diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2018-10-27 06:55:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2018-10-27 06:55:31 (GMT) |
commit | 83e03772ebd3bc8dee8692fe9c11f2180d7b2c49 (patch) | |
tree | fb022d26e88454aa13257be1a26c2296afcac935 /src/H5D.c | |
parent | 6e84fd8327138e48bd515665c1919bc8cf22dc9f (diff) | |
download | hdf5-83e03772ebd3bc8dee8692fe9c11f2180d7b2c49.zip hdf5-83e03772ebd3bc8dee8692fe9c11f2180d7b2c49.tar.gz hdf5-83e03772ebd3bc8dee8692fe9c11f2180d7b2c49.tar.bz2 |
Add VOL object wrapping to API context when refreshing groups, named datatypes
and objects.
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1029,7 +1029,7 @@ H5Drefresh(hid_t dset_id) /* Set wrapper info in API context */ if(H5VL_set_vol_wrapper(vol_obj->data, vol_obj->plugin) < 0) - HGOTO_ERROR(H5E_OHDR, H5E_CANTSET, H5I_INVALID_HID, "can't set VOL wrapper info") + HGOTO_ERROR(H5E_DATASET, H5E_CANTSET, FAIL, "can't set VOL wrapper info") vol_wrapper_set = TRUE; /* Refresh the dataset object */ @@ -1040,7 +1040,7 @@ H5Drefresh(hid_t dset_id) done: /* Reset object wrapping info in API context */ if(vol_wrapper_set && H5VL_reset_vol_wrapper() < 0) - HDONE_ERROR(H5E_OHDR, H5E_CANTSET, H5I_INVALID_HID, "can't reset VOL wrapper info") + HDONE_ERROR(H5E_DATASET, H5E_CANTSET, FAIL, "can't reset VOL wrapper info") FUNC_LEAVE_API(ret_value) } /* end H5Drefresh() */ |