diff options
Diffstat (limited to 'source4/ntptr/ntptr_base.c')
-rw-r--r-- | source4/ntptr/ntptr_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntptr/ntptr_base.c b/source4/ntptr/ntptr_base.c index 379c4e5413..1a14c3b33e 100644 --- a/source4/ntptr/ntptr_base.c +++ b/source4/ntptr/ntptr_base.c @@ -69,10 +69,10 @@ NTSTATUS ntptr_register(const void *_ops) return NT_STATUS_OK; } -NTSTATUS ntptr_init(void) +NTSTATUS ntptr_init(struct loadparm_context *lp_ctx) { init_module_fn static_init[] = STATIC_ntptr_MODULES; - init_module_fn *shared_init = load_samba_modules(NULL, global_loadparm, "ntptr"); + init_module_fn *shared_init = load_samba_modules(NULL, lp_ctx, "ntptr"); run_init_functions(static_init); run_init_functions(shared_init); |