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 0e41705e8e..a30e9ceccc 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -190,7 +190,7 @@ NTSTATUS query_lock(files_struct *fsp,
return brl_lockquery(br_lck,
psmblctx,
- procid_self(),
+ sconn_server_id(fsp->conn->sconn),
poffset,
pcount,
plock_type,