summaryrefslogtreecommitdiff
path: root/source4/smbd/process_onefork.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/process_onefork.c')
-rw-r--r--source4/smbd/process_onefork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/process_onefork.c b/source4/smbd/process_onefork.c
index 5194e1bda6..59e583dca3 100644
--- a/source4/smbd/process_onefork.c
+++ b/source4/smbd/process_onefork.c
@@ -111,7 +111,7 @@ static void onefork_new_task(struct tevent_context *ev,
smb_panic("Failed to re-initialise tevent after fork");
}
- setproctitle("task %s server_id[%d]", service_name, pid);
+ setproctitle("task %s server_id[%d]", service_name, (int)pid);
onefork_reload_after_fork();