summaryrefslogtreecommitdiff
path: root/source4/smbd/process_prefork.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/process_prefork.c')
-rw-r--r--source4/smbd/process_prefork.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/smbd/process_prefork.c b/source4/smbd/process_prefork.c
index a0aaf9290a..e4a519a1d5 100644
--- a/source4/smbd/process_prefork.c
+++ b/source4/smbd/process_prefork.c
@@ -136,7 +136,7 @@ static void prefork_new_task(struct tevent_context *ev,
/* We don't want any kids hanging around for this one,
* let the parent do all the work */
- event_loop_wait(ev2);
+ tevent_loop_wait(ev2);
talloc_free(ev2);
exit(0);
@@ -160,7 +160,7 @@ static void prefork_new_task(struct tevent_context *ev,
/* we can't return to the top level here, as that event context is gone,
so we now process events in the new event context until there are no
more to process */
- event_loop_wait(ev2);
+ tevent_loop_wait(ev2);
talloc_free(ev2);
exit(0);
@@ -178,7 +178,7 @@ static void prefork_new_task(struct tevent_context *ev,
/* we can't return to the top level here, as that event context is gone,
so we now process events in the new event context until there are no
more to process */
- event_loop_wait(ev_parent);
+ tevent_loop_wait(ev_parent);
talloc_free(ev_parent);
exit(0);