summaryrefslogtreecommitdiffstats
path: root/test/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/mount.c')
-rw-r--r--test/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mount.c b/test/mount.c
index f68589d..0009503 100644
--- a/test/mount.c
+++ b/test/mount.c
@@ -871,7 +871,7 @@ test_interlink(hid_t fapl)
/* Try an interfile hard link by sharing a data type */
if((type = H5Tcopy(H5T_NATIVE_INT)) < 0) FAIL_STACK_ERROR
- if(H5Tcommit(file1, "/type1", type) < 0) FAIL_STACK_ERROR
+ if(H5Tcommit2(file1, "/type1", type, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT) < 0) FAIL_STACK_ERROR
if((space = H5Screate_simple(1, cur_dims, NULL)) < 0) FAIL_STACK_ERROR
H5E_BEGIN_TRY {
dset = H5Dcreate(file1, "/mnt1/file2/dset", type, space, H5P_DEFAULT);