From a4fd6cc2299392735fdeca106549d2688babbfcd Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 8 Apr 2003 04:29:06 +0000
Subject: [PATCH] Fixed bug in lockf version of unlock().

---
 src/xpdev/filewrap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xpdev/filewrap.c b/src/xpdev/filewrap.c
index 11d9819ea4..92884a989b 100644
--- a/src/xpdev/filewrap.c
+++ b/src/xpdev/filewrap.c
@@ -99,7 +99,7 @@ int DLLCALL lock(int file, long offset, int len)
 }
 
 /* Removes a lock from a file record */
-int DLLCALL unlock(int file, long pos, int len)
+int DLLCALL unlock(int file, long offset, int len)
 {
 	int		i;
 	long	pos;
-- 
GitLab