summaryrefslogtreecommitdiffstats
path: root/examples/h5_select.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_select.c')
-rw-r--r--examples/h5_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_select.c b/examples/h5_select.c
index 249f2ba..d39458f 100644
--- a/examples/h5_select.c
+++ b/examples/h5_select.c
@@ -216,7 +216,7 @@ main (void)
/*
* Open the dataset.
*/
- dataset = H5Dopen(file,"Matrix in file");
+ dataset = H5Dopen2(file, "Matrix in file", H5P_DEFAULT);
/*
* Get dataspace of the open dataset.