summaryrefslogtreecommitdiffstats
path: root/test/ttime.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ttime.c')
-rw-r--r--test/ttime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ttime.c b/test/ttime.c
index 87e57dc..4762656 100644
--- a/test/ttime.c
+++ b/test/ttime.c
@@ -150,8 +150,8 @@ test_time_io(void)
CHECK(sid, FAIL, "H5Screate");
/* Create a dataset with a time datatype */
- dsid = H5Dcreate(fid, DATASETNAME, H5T_UNIX_D32LE, sid, H5P_DEFAULT);
- CHECK(dsid, FAIL, "H5Dcreate");
+ dsid = H5Dcreate2(fid, DATASETNAME, H5T_UNIX_D32LE, sid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
+ CHECK(dsid, FAIL, "H5Dcreate2");
/* Initialize time data value */
timenow = HDtime(NULL);