summaryrefslogtreecommitdiff
path: root/source4/ntptr/ntptr_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ntptr/ntptr_base.c')
-rw-r--r--source4/ntptr/ntptr_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntptr/ntptr_base.c b/source4/ntptr/ntptr_base.c
index 04114e9af5..9b89f8a6fc 100644
--- a/source4/ntptr/ntptr_base.c
+++ b/source4/ntptr/ntptr_base.c
@@ -74,7 +74,7 @@ NTSTATUS ntptr_init(void)
#define _MODULE_PROTO(init) extern NTSTATUS init(void);
STATIC_ntptr_MODULES_PROTO;
samba_module_init_fn static_init[] = { STATIC_ntptr_MODULES };
- samba_module_init_fn *shared_init = samba_modules_load(NULL, "ntptr");
+ samba_module_init_fn *shared_init = samba_module_init_fns_for_subsystem(NULL, "ntptr");
samba_module_init_fns_run(static_init);
samba_module_init_fns_run(shared_init);