summaryrefslogtreecommitdiffstats
path: root/test/dectris_tst.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/dectris_tst.c')
-rw-r--r--test/dectris_tst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dectris_tst.c b/test/dectris_tst.c
index ccc4310..ec1c23a 100644
--- a/test/dectris_tst.c
+++ b/test/dectris_tst.c
@@ -180,7 +180,7 @@ main (void)
if((file = H5Fopen(filename, H5F_ACC_RDWR, H5P_DEFAULT)) < 0)
TEST_ERROR;
- if((dataset = H5Dopen(file, DATASETNAME, H5P_DEFAULT)) < 0)
+ if((dataset = H5Dopen2(file, DATASETNAME, H5P_DEFAULT)) < 0)
TEST_ERROR;
/*
@@ -258,7 +258,7 @@ main (void)
if((file = H5Fopen(filename, H5F_ACC_RDWR, H5P_DEFAULT)) < 0)
TEST_ERROR;
- if((dataset = H5Dopen(file, DATASETNAME, H5P_DEFAULT)) < 0)
+ if((dataset = H5Dopen2(file, DATASETNAME, H5P_DEFAULT)) < 0)
TEST_ERROR;
/* Read the chunk back */