diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2020-12-12 03:25:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-12 03:25:24 (GMT) |
commit | 9e72b7f834eba0e7225bbec858da14431e0c6954 (patch) | |
tree | 0f98c594f5fc16c7db4f1df20c45498aba82cbc8 /src/H5D.c | |
parent | 71a7ad0e075b8bcb104a62a177115efbf85ae91e (diff) | |
download | hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.zip hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.tar.gz hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.tar.bz2 |
Minor normalization with the async branch (#159)
* Minor normalization with the async branch
* Update CMake and the Autotools to use the new pass-through VOL ID
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1000,7 +1000,7 @@ H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf /* Gather data */ if (0 == (nelmts_gathered = H5D__gather_mem(src_buf, iter, MIN(dst_buf_nelmts, (size_t)nelmts), dst_buf))) - HGOTO_ERROR(H5E_IO, H5E_CANTCOPY, FAIL, "gather failed") + HGOTO_ERROR(H5E_DATASET, H5E_CANTCOPY, FAIL, "gather failed") HDassert(nelmts_gathered == MIN(dst_buf_nelmts, (size_t)nelmts)); /* Make callback to process dst_buf */ @@ -1207,7 +1207,7 @@ H5Dvlen_get_buf_size(hid_t dataset_id, hid_t type_id, hid_t space_id, hsize_t *s supported = 0; if (H5VL_introspect_opt_query(vol_obj, H5VL_SUBCLS_DATASET, H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE, &supported) < 0) - HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, H5I_INVALID_HID, + HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, FAIL, "can't check for 'get vlen buf size' operation") if (supported & H5VL_OPT_QUERY_SUPPORTED) { /* Make the 'get_vlen_buf_size' callback */ |