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 82d177b..80cfd04 100644
--- a/examples/h5_group.c
+++ b/examples/h5_group.c
@@ -55,7 +55,7 @@ main(void)
/*
* Create a group in the file.
*/
- grp = H5Gcreate(file, "/Data", 0);
+ grp = H5Gcreate2(file, "/Data", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/*
* Create dataset "Compressed Data" in the group using absolute