summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/links.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/links.c b/test/links.c
index 10bec40..dcea7ce 100644
--- a/test/links.c
+++ b/test/links.c
@@ -7378,7 +7378,7 @@ external_link_with_committed_datatype(hid_t fapl, hbool_t new_format)
FAIL_STACK_ERROR
/* Open the group which is externally linked to target file */
- if((gid1 = H5Gopen(fid1, "link_to_2", H5P_DEFAULT)) < 0)
+ if((gid1 = H5Gopen2(fid1, "link_to_2", H5P_DEFAULT)) < 0)
FAIL_STACK_ERROR
/* Create a copy of integer datatype */
@@ -7480,7 +7480,7 @@ external_link_with_committed_datatype(hid_t fapl, hbool_t new_format)
FAIL_STACK_ERROR
/* Open the committed datatype in the mainfile */
- if((tid = H5Topen(fid1, "myDatatype", H5P_DEFAULT)) < 0)
+ if((tid = H5Topen2(fid1, "myDatatype", H5P_DEFAULT)) < 0)
FAIL_STACK_ERROR
/* Verify the datatype is committed */
@@ -7488,7 +7488,7 @@ external_link_with_committed_datatype(hid_t fapl, hbool_t new_format)
FAIL_STACK_ERROR
/* Open the group which is externally linked to target file */
- if((gid1 = H5Gopen(fid1, "link_to_2", H5P_DEFAULT)) < 0)
+ if((gid1 = H5Gopen2(fid1, "link_to_2", H5P_DEFAULT)) < 0)
FAIL_STACK_ERROR
/* Open the attribute attached to the group */