summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-06-24 05:34:08 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-06-24 05:34:08 (GMT)
commit8b00d921d7313cd21947992ab4a007d593c49207 (patch)
tree28c85f34592da28311d7e63da0002df8e63b24af /src/H5D.c
parent60dee604cdf2532c61666cc405b1891658dbdd73 (diff)
downloadhdf5-8b00d921d7313cd21947992ab4a007d593c49207.zip
hdf5-8b00d921d7313cd21947992ab4a007d593c49207.tar.gz
hdf5-8b00d921d7313cd21947992ab4a007d593c49207.tar.bz2
Updated H5Tcopy() to get the dataset's datatype through the VOL when
that is passed in as the object ID.
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 5ceee11..a8cefd9 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -437,7 +437,7 @@ H5Dget_type(hid_t dset_id)
if(NULL == (vol_obj = (H5VL_object_t *)H5I_object_verify(dset_id, H5I_DATASET)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, H5I_INVALID_HID, "invalid dataset identifier")
- /* get the datatype */
+ /* Get the datatype */
if(H5VL_dataset_get(vol_obj, H5VL_DATASET_GET_TYPE, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, &ret_value) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTGET, H5I_INVALID_HID, "unable to get datatype")