summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/queue_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/queue_process.c b/source3/printing/queue_process.c
index 5c00e8b001..ce4047cf16 100644
--- a/source3/printing/queue_process.c
+++ b/source3/printing/queue_process.c
@@ -274,7 +274,7 @@ pid_t start_background_queue(struct tevent_context *ev,
exit(1);
}
- if (!serverid_register(procid_self(),
+ if (!serverid_register(messaging_server_id(msg_ctx),
FLAG_MSG_GENERAL |
FLAG_MSG_PRINT_GENERAL)) {
exit(1);