summaryrefslogtreecommitdiffstats
path: root/test/gen_deflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/gen_deflate.c')
-rw-r--r--test/gen_deflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gen_deflate.c b/test/gen_deflate.c
index 00d6011..16de92e 100644
--- a/test/gen_deflate.c
+++ b/test/gen_deflate.c
@@ -90,7 +90,7 @@ main(void)
printf("H5Pset_deflate() failed!\n");
/* Create the compressed dataset */
- dset = H5Dcreate(file, "Dataset1", H5T_NATIVE_INT, space, dcpl);
+ dset = H5Dcreate2(file, "Dataset1", H5T_NATIVE_INT, space, H5P_DEFAULT, dcpl, H5P_DEFAULT);
if(dset<0)
printf("dset<0!\n");