diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-01 19:54:44 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2018-11-01 19:54:44 (GMT) |
commit | 1b00d04080aa057cc4eae1512dbed03e35fbc675 (patch) | |
tree | e118b76bec510f1215f51a6ff3f900ace4e53407 /src/H5Adeprec.c | |
parent | a5cc4e272b73384600b2b20429d4189e820a0451 (diff) | |
download | hdf5-1b00d04080aa057cc4eae1512dbed03e35fbc675.zip hdf5-1b00d04080aa057cc4eae1512dbed03e35fbc675.tar.gz hdf5-1b00d04080aa057cc4eae1512dbed03e35fbc675.tar.bz2 |
Refactor and standardize object VOL callbacks.
Diffstat (limited to 'src/H5Adeprec.c')
-rw-r--r-- | src/H5Adeprec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Adeprec.c b/src/H5Adeprec.c index 894bbc1..ae25cb9 100644 --- a/src/H5Adeprec.c +++ b/src/H5Adeprec.c @@ -343,8 +343,7 @@ H5Aget_num_attrs(hid_t loc_id) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, (-1), "invalid location identifier") /* Get the number of attributes for the object */ - if(H5VL_object_optional(vol_obj->data, vol_obj->plugin->cls, H5P_DATASET_XFER_DEFAULT, - H5_REQUEST_NULL, H5VL_OBJECT_GET_INFO, loc_params, &oinfo, H5O_INFO_ALL) < 0) + if(H5VL_object_optional(vol_obj, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, H5VL_OBJECT_GET_INFO, loc_params, &oinfo, H5O_INFO_ALL) < 0) HGOTO_ERROR(H5E_ATTR, H5E_CANTGET, (-1), "unable to get attribute count for object") H5_CHECKED_ASSIGN(ret_value, int, oinfo.num_attrs, hsize_t); |