summaryrefslogtreecommitdiffstats
path: root/examples/h5_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_mount.c')
-rw-r--r--examples/h5_mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_mount.c b/examples/h5_mount.c
index 04c6184..6c4910c 100644
--- a/examples/h5_mount.c
+++ b/examples/h5_mount.c
@@ -97,7 +97,7 @@ int main(void)
/*
* Access dataset D in the first file under /G/D name.
*/
- did = H5Dopen(fid1,"/G/D");
+ did = H5Dopen2(fid1, "/G/D", H5P_DEFAULT);
tid = H5Dget_type(did);
status = H5Dread(did, tid, H5S_ALL, H5S_ALL, H5P_DEFAULT, bm_out);