summaryrefslogtreecommitdiffstats
path: root/hl/test/test_lite.c
diff options
context:
space:
mode:
Diffstat (limited to 'hl/test/test_lite.c')
-rw-r--r--hl/test/test_lite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/test/test_lite.c b/hl/test/test_lite.c
index a9b9f30..d8aeb99 100644
--- a/hl/test/test_lite.c
+++ b/hl/test/test_lite.c
@@ -418,7 +418,7 @@ static int test_attr(void)
if((space_id = H5Screate_simple(1, dims, NULL)) < 0) goto out;
/* Create the dataset */
- if((dataset_id = H5Dcreate(file_id , "dset", H5T_NATIVE_INT, space_id, H5P_DEFAULT)) < 0) goto out;
+ if((dataset_id = H5Dcreate2(file_id , "dset", H5T_NATIVE_INT, space_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0) goto out;
/* Close */
H5Dclose(dataset_id);