summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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 a30e9ceccc..b7f3164c4e 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -276,7 +276,7 @@ struct byte_range_lock *do_lock(struct messaging_context *msg_ctx,
*perr = brl_lock(msg_ctx,
br_lck,
smblctx,
- procid_self(),
+ sconn_server_id(fsp->conn->sconn),
offset,
count,
lock_type,