summaryrefslogtreecommitdiffstats
path: root/test/tvlstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r--test/tvlstr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c
index a73151b..272186b 100644
--- a/test/tvlstr.c
+++ b/test/tvlstr.c
@@ -590,8 +590,8 @@ static void test_write_vl_string_attribute(void)
ret = H5Tset_size (type, H5T_VARIABLE);
CHECK(ret, FAIL, "H5Tset_size");
- root = H5Gopen(file, "/");
- CHECK(root, FAIL, "H5Gopen");
+ root = H5Gopen2(file, "/", H5P_DEFAULT);
+ CHECK(root, FAIL, "H5Gopen2");
dataspace = H5Screate(H5S_SCALAR);
CHECK(dataspace, FAIL, "H5Screate");
@@ -676,8 +676,8 @@ static void test_read_vl_string_attribute(void)
ret = H5Tset_size (type, H5T_VARIABLE);
CHECK(ret, FAIL, "H5Tset_size");
- root = H5Gopen(file, "/");
- CHECK(root, FAIL, "H5Gopen");
+ root = H5Gopen2(file, "/", H5P_DEFAULT);
+ CHECK(root, FAIL, "H5Gopen2");
/* Test reading "normal" sized string attribute */
att = H5Aopen_name(root, "test_scalar");