summaryrefslogtreecommitdiffstats
path: root/test/swmr_reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/swmr_reader.c')
-rw-r--r--test/swmr_reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/swmr_reader.c b/test/swmr_reader.c
index 7045954..9c9cd1e 100644
--- a/test/swmr_reader.c
+++ b/test/swmr_reader.c
@@ -13,7 +13,7 @@ check_dataset(hid_t fid, unsigned verbose, const char *sym_name, symbol_t *recor
hsize_t start, count = 1; /* Hyperslab selection values */
/* Open dataset for symbol */
- if((dsid = H5Dopen(fid, sym_name, H5P_DEFAULT)) < 0)
+ if((dsid = H5Dopen2(fid, sym_name, H5P_DEFAULT)) < 0)
return(-1);
/* Get the dataset's dataspace */