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 b7f3164c4e..ead39ddcdb 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -325,7 +325,7 @@ NTSTATUS do_unlock(struct messaging_context *msg_ctx,
ok = brl_unlock(msg_ctx,
br_lck,
smblctx,
- procid_self(),
+ sconn_server_id(fsp->conn->sconn),
offset,
count,
lock_flav);