summaryrefslogtreecommitdiffstats
path: root/test/gen_new_array.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen_new_array.c')
-rw-r--r--test/gen_new_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gen_new_array.c b/test/gen_new_array.c
index 3e625b9..3f54e79 100644
--- a/test/gen_new_array.c
+++ b/test/gen_new_array.c
@@ -128,7 +128,7 @@ main(void)
printf("field 4 insert<0!\n");
/* Create the dataset with compound array fields */
- dset = H5Dcreate(file, "Dataset1", type, space, H5P_DEFAULT);
+ dset = H5Dcreate2(file, "Dataset1", type, space, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
if(dset<0)
printf("dset<0!\n");
H5Dclose(dset);
@@ -142,7 +142,7 @@ main(void)
printf("type<0!\n");
/* Create the dataset with array datatype */
- dset = H5Dcreate(file, "Dataset2", type, space, H5P_DEFAULT);
+ dset = H5Dcreate2(file, "Dataset2", type, space, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
if(dset<0)
printf("dset<0!\n");
H5Dclose(dset);