summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/vfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd.c b/test/vfd.c
index 3e792cc..57798a5 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -831,7 +831,7 @@ test_family_compat(void)
if((file = H5Fopen(pathname, H5F_ACC_RDWR, fapl)) < 0)
TEST_ERROR;
- if((dset = H5Dopen(file, dname, H5P_DEFAULT)) < 0)
+ if((dset = H5Dopen2(file, dname, H5P_DEFAULT)) < 0)
TEST_ERROR;
if(H5Dclose(dset) < 0)
@@ -844,7 +844,7 @@ test_family_compat(void)
if((file = H5Fopen(pathname, H5F_ACC_RDWR, fapl)) < 0)
TEST_ERROR;
- if((dset = H5Dopen(file, dname, H5P_DEFAULT)) < 0)
+ if((dset = H5Dopen2(file, dname, H5P_DEFAULT)) < 0)
TEST_ERROR;
if(H5Dclose(dset) < 0)