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 f30ed331be..7632302cea 100644
--- a/source3/utils/net_g_lock.c
+++ b/source3/utils/net_g_lock.c
@@ -35,7 +35,7 @@ static bool net_g_lock_init(TALLOC_CTX *mem_ctx,
d_fprintf(stderr, "ERROR: could not init event context\n");
goto fail;
}
- msg = messaging_init(talloc_tos(), server_id_self(), ev);
+ msg = messaging_init(talloc_tos(), procid_self(), ev);
if (msg == NULL) {
d_fprintf(stderr, "ERROR: could not init messaging context\n");
goto fail;