summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 4af37fdc47..04c198afea 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -722,7 +722,7 @@ BOOL lock_share_entry(int cnum, uint32 dev, uint32 inode, share_lock_token *ptok
{
pstring fname;
int fd;
- ret = True;
+ int ret = True;
*ptok = (share_lock_token)-1;