summaryrefslogtreecommitdiffstats
path: root/test/tunicode.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tunicode.c')
-rw-r--r--test/tunicode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tunicode.c b/test/tunicode.c
index 7135272..93f2cda 100644
--- a/test/tunicode.c
+++ b/test/tunicode.c
@@ -491,8 +491,8 @@ void test_objnames(hid_t fid, const char* string)
HDstrcpy(path_buf, GROUP2_NAME);
HDstrcat(path_buf, "/");
HDstrcat(path_buf, string);
- ret = H5Glink(grp3_id, H5G_LINK_SOFT, path_buf, string);
- CHECK(ret, FAIL, "H5Glink");
+ ret = H5Glink2(grp3_id, path_buf, H5G_LINK_SOFT, H5G_SAME_LOC, string);
+ CHECK(ret, FAIL, "H5Glink2");
/* Open named datatype using soft link */
type_id = H5Topen(grp3_id, string);