summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/com/main.c2
-rw-r--r--source4/lib/registry/common/reg_interface.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/com/main.c b/source4/lib/com/main.c
index ab14f28b28..3e4127f246 100644
--- a/source4/lib/com/main.c
+++ b/source4/lib/com/main.c
@@ -94,7 +94,7 @@ NTSTATUS com_init(void)
{
static BOOL initialized = False;
- init_module_fn static_init[] = STATIC_COM_MODULES;
+ init_module_fn static_init[] = STATIC_com_MODULES;
init_module_fn *shared_init;
if (initialized) return NT_STATUS_OK;
diff --git a/source4/lib/registry/common/reg_interface.c b/source4/lib/registry/common/reg_interface.c
index 676d9ec3b3..7af0616ce0 100644
--- a/source4/lib/registry/common/reg_interface.c
+++ b/source4/lib/registry/common/reg_interface.c
@@ -73,7 +73,7 @@ static struct reg_init_function_entry *reg_find_backend_entry(const char *name)
/** Initialize the registry subsystem */
_PUBLIC_ NTSTATUS registry_init(void)
{
- init_module_fn static_init[] = STATIC_REGISTRY_MODULES;
+ init_module_fn static_init[] = STATIC_registry_MODULES;
init_module_fn *shared_init = load_samba_modules(NULL, "registry");
run_init_functions(static_init);