summaryrefslogtreecommitdiffstats
path: root/examples/h5_compound.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_compound.c')
-rw-r--r--examples/h5_compound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_compound.c b/examples/h5_compound.c
index da22c87..3fca2a5 100644
--- a/examples/h5_compound.c
+++ b/examples/h5_compound.c
@@ -87,7 +87,7 @@ main(void)
/*
* Create the dataset.
*/
- dataset = H5Dcreate(file, DATASETNAME, s1_tid, space, H5P_DEFAULT);
+ dataset = H5Dcreate2(file, DATASETNAME, s1_tid, space, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/*
* Wtite data to the dataset;