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 f863aea..04c6184 100644
--- a/examples/h5_mount.c
+++ b/examples/h5_mount.c
@@ -54,7 +54,7 @@ int main(void)
* Create first file and a group in it.
*/
fid1 = H5Fcreate(FILE1, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
- gid = H5Gcreate(fid1, "/G", 0);
+ gid = H5Gcreate2(fid1, "/G", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/*
* Close group and file