summaryrefslogtreecommitdiffstats
path: root/examples/h5_extend_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_extend_write.c')
-rw-r--r--examples/h5_extend_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_extend_write.c b/examples/h5_extend_write.c
index b54cc66..74f6c01 100644
--- a/examples/h5_extend_write.c
+++ b/examples/h5_extend_write.c
@@ -81,8 +81,8 @@ main (void)
* Create a new dataset within the file using cparms
* creation properties.
*/
- dataset = H5Dcreate(file, DATASETNAME, H5T_NATIVE_INT, dataspace,
- cparms);
+ dataset = H5Dcreate2(file, DATASETNAME, H5T_NATIVE_INT, dataspace, H5P_DEFAULT,
+ cparms, H5P_DEFAULT);
/*
* Extend the dataset. This call assures that dataset is at least 3 x 3.