summaryrefslogtreecommitdiffstats
path: root/test/tvlstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tvlstr.c')
-rw-r--r--test/tvlstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tvlstr.c b/test/tvlstr.c
index f4f77b9..8d8c4a4 100644
--- a/test/tvlstr.c
+++ b/test/tvlstr.c
@@ -435,8 +435,8 @@ static void test_vlstring_type(void)
VERIFY(pad, H5T_STR_NULLPAD, "H5Tget_strpad");
/* Commit variable-length string datatype to storage */
- ret = H5Tcommit(fid, VLSTR_TYPE, tid_vlstr);
- CHECK(ret, FAIL, "H5Tcommit");
+ ret = H5Tcommit2(fid, VLSTR_TYPE, tid_vlstr, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
+ CHECK(ret, FAIL, "H5Tcommit2");
/* Close datatype */
ret = H5Tclose(tid_vlstr);