summaryrefslogtreecommitdiffstats
path: root/examples/h5_compound.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_compound.c')
-rw-r--r--examples/h5_compound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_compound.c b/examples/h5_compound.c
index 544a239..da22c87 100644
--- a/examples/h5_compound.c
+++ b/examples/h5_compound.c
@@ -107,7 +107,7 @@ main(void)
*/
file = H5Fopen(H5FILE_NAME, H5F_ACC_RDONLY, H5P_DEFAULT);
- dataset = H5Dopen(file, DATASETNAME);
+ dataset = H5Dopen2(file, DATASETNAME, H5P_DEFAULT);
/*
* Create a data type for s2