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 8445bb6..ddf98ac 100644
--- a/examples/h5_reference.c
+++ b/examples/h5_reference.c
@@ -37,7 +37,7 @@ main(void) {
/*
* Create group "A" in the file.
*/
- gid_a = H5Gcreate(fid, "A", -1);
+ gid_a = H5Gcreate(fid, "A", 0);
/*
* Create dataset "B" in the file.