summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mirror_vfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mirror_vfd.c b/test/mirror_vfd.c
index 9a26c42..b4f4c2c 100644
--- a/test/mirror_vfd.c
+++ b/test/mirror_vfd.c
@@ -1464,8 +1464,8 @@ _create_chunking_ids(hid_t file_id, unsigned min_dset, unsigned max_dset, hsize_
FAIL_PUTS_ERROR(mesg);
}
- if ((dataset_ids[m] = H5Dcreate(file_id, dset_name, H5T_STD_I32BE, dataspace_ids[m], H5P_DEFAULT,
- dcpl_id, H5P_DEFAULT)) < 0) {
+ if ((dataset_ids[m] = H5Dcreate2(file_id, dset_name, H5T_STD_I32BE, dataspace_ids[m], H5P_DEFAULT,
+ dcpl_id, H5P_DEFAULT)) < 0) {
HDsnprintf(mesg, MIRR_MESG_SIZE, "unable to create dset ID %d\n", m);
FAIL_PUTS_ERROR(mesg);
}