diff options
Diffstat (limited to 'test/ttime.c')
-rw-r--r-- | test/ttime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ttime.c b/test/ttime.c index 37e0b5e..87e57dc 100644 --- a/test/ttime.c +++ b/test/ttime.c @@ -174,8 +174,8 @@ test_time_io(void) fid = H5Fopen(DATAFILE, H5F_ACC_RDWR, H5P_DEFAULT); CHECK(fid, FAIL, "H5Fopen"); - dsid = H5Dopen(fid, DATASETNAME); - CHECK(dsid, FAIL, "H5Dopen"); + dsid = H5Dopen2(fid, DATASETNAME, H5P_DEFAULT); + CHECK(dsid, FAIL, "H5Dopen2"); tid = H5Dget_type(dsid); CHECK(tid, FAIL, "H5Dget_type"); |