summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-23 18:50:41 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-23 18:50:41 (GMT)
commit6eb37e3d319c2e8c3d0804f73c6fb209bdc9f990 (patch)
treee5f37e1d2f6562995f92b2e9343e15e0eaafae60 /src/H5G.c
parent7d289e8a697aba2f537a62d3b6352e357b3bd83b (diff)
downloadhdf5-6eb37e3d319c2e8c3d0804f73c6fb209bdc9f990.zip
hdf5-6eb37e3d319c2e8c3d0804f73c6fb209bdc9f990.tar.gz
hdf5-6eb37e3d319c2e8c3d0804f73c6fb209bdc9f990.tar.bz2
[svn-r22399] move location token out of va_list on lookup callback
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 7c347b6..9e72382 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -527,7 +527,7 @@ H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *grp_info,
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not link access property list ID")
/* Get the token for the Object location through the VOL */
- if(H5VL_object_lookup (loc_id, H5VL_OBJECT_LOOKUP_BY_NAME, H5_REQUEST_NULL, &location, name, lapl_id) < 0)
+ if(H5VL_object_lookup (loc_id, H5VL_OBJECT_LOOKUP_BY_NAME, &location, H5_REQUEST_NULL, name, lapl_id) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to locate object")
/* Get the group info through the VOL using the location token */
@@ -586,7 +586,7 @@ H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type,
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not link access property list ID")
/* Get the token for the Object location through the VOL */
- if(H5VL_object_lookup(loc_id, H5VL_OBJECT_LOOKUP_BY_IDX, H5_REQUEST_NULL, &location, group_name,
+ if(H5VL_object_lookup(loc_id, H5VL_OBJECT_LOOKUP_BY_IDX, &location, H5_REQUEST_NULL, group_name,
idx_type, order, n, lapl_id) < 0)
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to locate object")