fssd: Remove reference to procid_self()
authorVolker Lendecke <vl@samba.org>
Mon, 12 Oct 2015 15:21:30 +0000 (17:21 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 19 Oct 2015 10:09:10 +0000 (12:09 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/rpc_server/fssd.c

index 1e96afe6affdc41adf17ef0e07b1dd5c86b745ba..8f55aff6f85e5ed3089c04ddeb07557597822687 100644 (file)
@@ -182,7 +182,7 @@ void start_fssd(struct tevent_context *ev_ctx,
        fssd_setup_sig_term_handler(ev_ctx);
        fssd_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) {