summaryrefslogtreecommitdiff
path: root/source3/utils/net_g_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_g_lock.c')
-rw-r--r--source3/utils/net_g_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_g_lock.c b/source3/utils/net_g_lock.c
index a683b552de..937c11c0c4 100644
--- a/source3/utils/net_g_lock.c
+++ b/source3/utils/net_g_lock.c
@@ -90,7 +90,7 @@ static int net_g_lock_do(struct net_context *c, int argc, const char **argv)
status = g_lock_do(name, G_LOCK_WRITE,
timeval_set(timeout / 1000, timeout % 1000),
- net_g_lock_do_fn, &state);
+ procid_self(), net_g_lock_do_fn, &state);
if (!NT_STATUS_IS_OK(status)) {
d_fprintf(stderr, "ERROR: g_lock_do failed: %s\n",
nt_errstr(status));