summaryrefslogtreecommitdiffstats
path: root/test/gen_old_array.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen_old_array.c')
-rw-r--r--test/gen_old_array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gen_old_array.c b/test/gen_old_array.c
index 9163ac7..a4162f2 100644
--- a/test/gen_old_array.c
+++ b/test/gen_old_array.c
@@ -107,7 +107,7 @@ main(void)
printf("field 3 insert<0!\n");
/* Create the dataset with compound non-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);
@@ -141,7 +141,7 @@ main(void)
printf("field 4 insert<0!\n");
/* Create the dataset with compound array fields */
- 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);