summaryrefslogtreecommitdiffstats
path: root/examples/h5_interm_group.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_interm_group.c')
-rw-r--r--examples/h5_interm_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_interm_group.c b/examples/h5_interm_group.c
index 7889abf..caa0a88 100644
--- a/examples/h5_interm_group.c
+++ b/examples/h5_interm_group.c
@@ -48,7 +48,7 @@ main(void)
/*
* Create a group in the file.
*/
- g1_id = H5Gcreate(file, "/G1", 0);
+ g1_id = H5Gcreate2(file, "/G1", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
H5Gclose(g1_id);
H5Fclose(file);