summaryrefslogtreecommitdiffstats
path: root/test/gen_cross.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen_cross.c')
-rwxr-xr-xtest/gen_cross.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gen_cross.c b/test/gen_cross.c
index 9642577..46afc35 100755
--- a/test/gen_cross.c
+++ b/test/gen_cross.c
@@ -82,8 +82,8 @@ main (void)
* Create a new dataset within the file using defined dataspace and
* datatype and default dataset creation properties.
*/
- dataset = H5Dcreate(file, DATASETNAME, datatype, dataspace,
- H5P_DEFAULT);
+ dataset = H5Dcreate2(file, DATASETNAME, datatype, dataspace,
+ H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/*
* Write the data to the dataset using default transfer properties.