summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/h5diff/h5diffgentest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5diff/h5diffgentest.c b/tools/h5diff/h5diffgentest.c
index a1bf0b5..7c69154 100644
--- a/tools/h5diff/h5diffgentest.c
+++ b/tools/h5diff/h5diffgentest.c
@@ -889,12 +889,12 @@ int test_datatypes(const char *fname)
*-------------------------------------------------------------------------
*/
write_dset(fid1,2,dims,"dset11a",H5T_STD_U16LE,buf11a);
- dset=H5Dopen (fid1, "dset11a", H5P_DEFAULT);
+ dset=H5Dopen2 (fid1, "dset11a", H5P_DEFAULT);
write_attr(dset,2,dims,"attr",H5T_STD_U16LE,buf11a);
H5Dclose (dset);
write_dset(fid1,2,dims,"dset11b",H5T_STD_U32LE,buf11b);
- dset=H5Dopen (fid1, "dset11b", H5P_DEFAULT);
+ dset=H5Dopen2 (fid1, "dset11b", H5P_DEFAULT);
write_attr(dset,2,dims,"attr",H5T_STD_U32LE,buf11b);
H5Dclose (dset);