summaryrefslogtreecommitdiff
path: root/source4/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/server.c')
-rw-r--r--source4/smbd/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 90955ff6cb..f32d6a0702 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -196,8 +196,6 @@ static void setup_process_model(struct event_context *events,
{
const struct model_ops *ops;
- process_model_init();
-
ops = process_model_byname(model);
if (!ops) {
DEBUG(0,("Unknown process model '%s'\n", model));
@@ -343,6 +341,8 @@ static void setup_process_model(struct event_context *events,
register_msg_pool_usage();
register_dmalloc_msgs();
+ init_subsystems();
+
setup_process_model(events, model);
/* wait for events */