diff options
author | Quincey Koziol <koziol@koziol.gov> | 2020-02-28 20:06:28 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2020-02-28 20:06:28 (GMT) |
commit | 38af6ee3d59a8e836f4c62dd533ddabd914c7abb (patch) | |
tree | 1b75bf94f3e047d1470e91708b16c8ddd1a3645f /src/H5D.c | |
parent | d7eec7d6ec721ce34ccd32a75261e7711bd3ee1b (diff) | |
download | hdf5-38af6ee3d59a8e836f4c62dd533ddabd914c7abb.zip hdf5-38af6ee3d59a8e836f4c62dd533ddabd914c7abb.tar.gz hdf5-38af6ee3d59a8e836f4c62dd533ddabd914c7abb.tar.bz2 |
Switch the 'get offset' operation from a dataset 'get' callback to a [native]
dataset 'optional' operation.
Diffstat (limited to 'src/H5D.c')
-rw-r--r-- | src/H5D.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -598,7 +598,7 @@ H5Dget_offset(hid_t dset_id) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, HADDR_UNDEF, "invalid dataset identifier") /* Get the offset */ - if(H5VL_dataset_get(vol_obj, H5VL_DATASET_GET_OFFSET, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, &ret_value) < 0) + if(H5VL_dataset_optional(vol_obj, H5VL_NATIVE_DATASET_GET_OFFSET, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, &ret_value) < 0) HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, HADDR_UNDEF, "unable to get offset") done: |