summaryrefslogtreecommitdiffstats
path: root/test/ttsafe_cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ttsafe_cancel.c')
-rw-r--r--test/ttsafe_cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ttsafe_cancel.c b/test/ttsafe_cancel.c
index 00c6657..92eff41 100644
--- a/test/ttsafe_cancel.c
+++ b/test/ttsafe_cancel.c
@@ -101,7 +101,7 @@ void tts_cancel(void)
ret=pthread_cancel(childthread);
assert(ret==0);
- dataset = H5Dopen(cancel_file, DATASETNAME);
+ dataset = H5Dopen2(cancel_file, DATASETNAME, H5P_DEFAULT);
assert(dataset>=0);
ret=H5Dread(dataset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, &buffer);
assert(ret>=0);