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 101ac66..028f92b 100644
--- a/test/mount.c
+++ b/test/mount.c
@@ -689,7 +689,7 @@ test_unlink(hid_t fapl)
} /* end if */
/* Unlink the mount point */
- if(H5Gunlink(file1, "/mnt_unlink") < 0) FAIL_STACK_ERROR
+ if(H5Ldelete(file1, "/mnt_unlink", H5P_DEFAULT) < 0) FAIL_STACK_ERROR
/*
* We should still be able to get to "/file2" of file2 by starting at