summaryrefslogtreecommitdiffstats
path: root/examples/h5_group.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_group.c')
-rw-r--r--examples/h5_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_group.c b/examples/h5_group.c
index 80cfd04..52f9f53 100644
--- a/examples/h5_group.c
+++ b/examples/h5_group.c
@@ -101,7 +101,7 @@ main(void)
* Now reopen the file and group in the file.
*/
file = H5Fopen(H5FILE_NAME, H5F_ACC_RDWR, H5P_DEFAULT);
- grp = H5Gopen(file, "Data");
+ grp = H5Gopen2(file, "Data", H5P_DEFAULT);
/*
* Access "Compressed_Data" dataset in the group.