diff options
Diffstat (limited to 'examples/h5_read.c')
-rw-r--r-- | examples/h5_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_read.c b/examples/h5_read.c index 2d90f02..6fe75be 100644 --- a/examples/h5_read.c +++ b/examples/h5_read.c @@ -67,7 +67,7 @@ main (void) * Open the file and the dataset. */ file = H5Fopen(H5FILE_NAME, H5F_ACC_RDONLY, H5P_DEFAULT); - dataset = H5Dopen(file, DATASETNAME); + dataset = H5Dopen2(file, DATASETNAME, H5P_DEFAULT); /* * Get datatype and dataspace handles and then query |