summaryrefslogtreecommitdiffstats
path: root/test/tsohm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsohm.c')
-rw-r--r--test/tsohm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tsohm.c b/test/tsohm.c
index f5b5235..e0ddc8c 100644
--- a/test/tsohm.c
+++ b/test/tsohm.c
@@ -1028,8 +1028,8 @@ static void sohm_attr_helper(hid_t fcpl_id)
/* Repeat with a committed datatype */
type_id = H5Tcopy(H5T_NATIVE_INT);
CHECK_I(type_id, "H5Tcopy");
- ret = H5Tcommit(file_id, "datatype", type_id);
- CHECK_I(ret, "H5Tcommit");
+ ret = H5Tcommit2(file_id, "datatype", type_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
+ CHECK_I(ret, "H5Tcommit2");
/* Create and verify an attribute */
group_id = H5Gcreate2(file_id, "another_group", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);