summaryrefslogtreecommitdiff
path: root/AuLock.c
diff options
context:
space:
mode:
Diffstat (limited to 'AuLock.c')
-rw-r--r--AuLock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/AuLock.c b/AuLock.c
index ce15f25..5dfc174 100644
--- a/AuLock.c
+++ b/AuLock.c
@@ -64,8 +64,8 @@ long dead)
* case a 0 deadtime to force lock removal
*/
if (dead == 0 || now - statb.st_ctime > dead) {
- (void) unlink (creat_name);
- (void) unlink (link_name);
+ (void) remove (creat_name);
+ (void) remove (link_name);
}
}