summaryrefslogtreecommitdiff
path: root/source3/rpc_server/epmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server/epmd.c')
-rw-r--r--source3/rpc_server/epmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/epmd.c b/source3/rpc_server/epmd.c
index f30372edad..0e7b430213 100644
--- a/source3/rpc_server/epmd.c
+++ b/source3/rpc_server/epmd.c
@@ -173,7 +173,7 @@ void start_epmd(struct tevent_context *ev_ctx,
epmd_setup_sig_term_handler(ev_ctx);
epmd_setup_sig_hup_handler(ev_ctx, msg_ctx);
- ok = serverid_register(procid_self(),
+ ok = serverid_register(messaging_server_id(msg_ctx),
FLAG_MSG_GENERAL |
FLAG_MSG_PRINT_GENERAL);
if (!ok) {