summaryrefslogtreecommitdiffstats
path: root/test/gen_old_layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen_old_layout.c')
-rw-r--r--test/gen_old_layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gen_old_layout.c b/test/gen_old_layout.c
index 1533f8e..312ee58 100644
--- a/test/gen_old_layout.c
+++ b/test/gen_old_layout.c
@@ -82,7 +82,7 @@ main(void)
printf("H5Pset_alloc_time() failed!\n");
/* Create the dataset with deferred storage allocation */
- dset = H5Dcreate(file, "Dataset", H5T_NATIVE_INT, space, dcpl);
+ dset = H5Dcreate2(file, "Dataset", H5T_NATIVE_INT, space, H5P_DEFAULT, dcpl, H5P_DEFAULT);
if(dset<0)
printf("dset<0!\n");