summaryrefslogtreecommitdiffstats
path: root/src/H5I.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-11-22 05:12:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-11-22 05:12:24 (GMT)
commit3055e499d527d9847c7f71f6a1596e69101183b3 (patch)
treeb04ea155e05e90729d7fee347758f1b0e0d868f1 /src/H5I.c
parent8939a2190f50ab42c6b59c0d2df33ac66bb625e7 (diff)
downloadhdf5-3055e499d527d9847c7f71f6a1596e69101183b3.zip
hdf5-3055e499d527d9847c7f71f6a1596e69101183b3.tar.gz
hdf5-3055e499d527d9847c7f71f6a1596e69101183b3.tar.bz2
Switch loc_params to VOL callbacks to pass struct by pointer instead of by
value.
Diffstat (limited to 'src/H5I.c')
-rw-r--r--src/H5I.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5I.c b/src/H5I.c
index f4a221f..68cbe55 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -2181,7 +2181,7 @@ H5Iget_name(hid_t id, char *name/*out*/, size_t size)
loc_params.obj_type = H5I_get_type(id);
/* Retrieve object's name */
- if(H5VL_object_get(vol_obj, loc_params, H5VL_ID_GET_NAME, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, &ret_value, name, size) < 0)
+ if(H5VL_object_get(vol_obj, &loc_params, H5VL_ID_GET_NAME, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, &ret_value, name, size) < 0)
HGOTO_ERROR(H5E_ATOM, H5E_CANTGET, (-1), "can't retrieve object name")
done: