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 979a8e10ad..251e5074c8 100644
--- a/source4/smbd/process_onefork.c
+++ b/source4/smbd/process_onefork.c
@@ -120,7 +120,7 @@ static void onefork_new_task(struct tevent_context *ev,
/* setup this new connection: process will bind to it's sockets etc */
new_task_fn(ev, lp_ctx, cluster_id(pid, 0), private_data);
- event_loop_wait(ev);
+ tevent_loop_wait(ev);
talloc_free(ev);
exit(0);