summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
authorJordan Henderson <jhenderson@hdfgroup.org>2019-08-21 03:02:12 (GMT)
committerJordan Henderson <jhenderson@hdfgroup.org>2019-08-21 16:56:50 (GMT)
commit0de0965c61823186ac61c0d6876d4d77578e5bcc (patch)
tree81b14f153939f0fee7566406991f44e40685b1e1 /src/H5O.c
parentf0272e4945f047f17043b484db594df131222f1e (diff)
downloadhdf5-0de0965c61823186ac61c0d6876d4d77578e5bcc.zip
hdf5-0de0965c61823186ac61c0d6876d4d77578e5bcc.tar.gz
hdf5-0de0965c61823186ac61c0d6876d4d77578e5bcc.tar.bz2
Fix issue in H5Lcreate_hard and H5Olink where entire H5VL_loc_params_t structure was passed via varargs
Diffstat (limited to 'src/H5O.c')
-rw-r--r--src/H5O.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5O.c b/src/H5O.c
index e7351fc..bf2d799 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -367,7 +367,7 @@ H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id,
tmp_vol_obj.connector = (vol_obj1 != NULL ? vol_obj1->connector : vol_obj2->connector);
/* Create a link to the object */
- if(H5VL_link_create(H5VL_LINK_CREATE_HARD, &tmp_vol_obj, &loc_params2, lcpl_id, lapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, vol_obj1->data, loc_params1) < 0)
+ if(H5VL_link_create(H5VL_LINK_CREATE_HARD, &tmp_vol_obj, &loc_params2, lcpl_id, lapl_id, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL, vol_obj1->data, &loc_params1) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTCREATE, FAIL, "unable to create link")
done: