summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-02-22 19:13:42 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-02-22 19:13:42 (GMT)
commit675be2a4a48253ed2622b9c45f8beabaa872c18d (patch)
tree7d6de351899331e1fa4331fff2738507688e91f4
parent62dce9ab87da6da7a6eb5abb6d5d4577cb1c3bd6 (diff)
downloadhdf5-675be2a4a48253ed2622b9c45f8beabaa872c18d.zip
hdf5-675be2a4a48253ed2622b9c45f8beabaa872c18d.tar.gz
hdf5-675be2a4a48253ed2622b9c45f8beabaa872c18d.tar.bz2
HDFFV-10552 Change to use H5G_loc_info
-rw-r--r--src/H5Odeprec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Odeprec.c b/src/H5Odeprec.c
index fc0abc3..33ed787 100644
--- a/src/H5Odeprec.c
+++ b/src/H5Odeprec.c
@@ -102,8 +102,8 @@ H5Oget_info1(hid_t loc_id, H5O_info_t *oinfo)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "no info struct")
/* Retrieve the object's information */
- if(H5O__get_info_by_name(&loc, ".", oinfo/*out*/, H5O_INFO_ALL) < 0)
- HGOTO_ERROR(H5E_OHDR, H5E_CANTGET, FAIL, "can't get info for object")
+ if(H5G_loc_info(&loc, ".", oinfo/*out*/, H5O_INFO_ALL) < 0)
+ HGOTO_ERROR(H5E_OHDR, H5E_CANTGET, FAIL, "can't retrieve object info")
done:
FUNC_LEAVE_API(ret_value)
@@ -142,7 +142,7 @@ H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info_t *oinfo, hid_t la
HGOTO_ERROR(H5E_OHDR, H5E_CANTSET, FAIL, "can't set access property list info")
/* Retrieve the object's information */
- if(H5O__get_info_by_name(&loc, name, oinfo/*out*/, H5O_INFO_ALL) < 0)
+ if(H5G_loc_info(&loc, name, oinfo/*out*/, H5O_INFO_ALL) < 0)
HGOTO_ERROR(H5E_OHDR, H5E_CANTGET, FAIL, "can't get info for object: '%s'", name)
done: