summaryrefslogtreecommitdiffstats
path: root/examples/h5_reference.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_reference.c')
-rw-r--r--examples/h5_reference.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_reference.c b/examples/h5_reference.c
index a84a6cb..5cd6cb1 100644
--- a/examples/h5_reference.c
+++ b/examples/h5_reference.c
@@ -52,7 +52,7 @@ main(void) {
/*
* Create group "A" in the file.
*/
- gid_a = H5Gcreate(fid, "A", 0);
+ gid_a = H5Gcreate2(fid, "A", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/*
* Create dataset "B" in the file.