summaryrefslogtreecommitdiffstats
path: root/src/H5Adeprec.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-24 18:14:05 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-24 18:14:05 (GMT)
commit485dcbd4026b0d68df1b075fba9415d83c9eb554 (patch)
tree039175f8fe63b51c76103bf0c47792a0459488e4 /src/H5Adeprec.c
parentb65385eebd1aa95ab517f707997d234b7c3b3fd7 (diff)
downloadhdf5-485dcbd4026b0d68df1b075fba9415d83c9eb554.zip
hdf5-485dcbd4026b0d68df1b075fba9415d83c9eb554.tar.gz
hdf5-485dcbd4026b0d68df1b075fba9415d83c9eb554.tar.bz2
[svn-r22404] split the generic callback into a misc and optional callback for objects and files
Diffstat (limited to 'src/H5Adeprec.c')
-rw-r--r--src/H5Adeprec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Adeprec.c b/src/H5Adeprec.c
index b045bb6..f4283f1 100644
--- a/src/H5Adeprec.c
+++ b/src/H5Adeprec.c
@@ -256,7 +256,7 @@ H5Aopen_idx(hid_t loc_id, unsigned idx)
if(H5I_ATTR == H5I_get_type(loc_id))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "location is not valid for an attribute")
- if(H5VL_object_generic(loc_id, H5VL_ATTR_OPEN_BY_IDX, H5_REQUEST_NULL, &ret_value, ".", H5_INDEX_CRT_ORDER,
+ if(H5VL_object_misc(loc_id, H5VL_ATTR_OPEN_BY_IDX, H5_REQUEST_NULL, &ret_value, ".", H5_INDEX_CRT_ORDER,
H5_ITER_INC, (hsize_t)idx, H5P_DEFAULT, H5P_LINK_ACCESS_DEFAULT) < 0)
HGOTO_ERROR(H5E_INTERNAL, H5E_CANTGET, FAIL, "unable to get dataset access properties")