diff --git a/source4/lib/events/events.c b/source4/lib/events/events.c index 464d65ef797..2b36c924917 100644 --- a/source4/lib/events/events.c +++ b/source4/lib/events/events.c @@ -105,7 +105,7 @@ static void event_backend_init(void) init_module_fn static_init[] = STATIC_LIBEVENTS_MODULES; init_module_fn *shared_init; if (event_backends) return; - shared_init = load_samba_modules(NULL, global_loadparm, "LIBEVENTS"); + shared_init = load_samba_modules(NULL, global_loadparm, "events"); run_init_functions(static_init); run_init_functions(shared_init); #else