summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/registry/reg_init_full.c2
-rw-r--r--source3/smbd/server.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/registry/reg_init_full.c b/source3/registry/reg_init_full.c
index 7b9583dde2..91e55d76b2 100644
--- a/source3/registry/reg_init_full.c
+++ b/source3/registry/reg_init_full.c
@@ -62,7 +62,7 @@ REGISTRY_HOOK reg_hooks[] = {
with all available backens.
***********************************************************************/
-WERROR init_registry(void)
+WERROR registry_init_full(void)
{
int i;
WERROR werr;
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 9754fab534..b71d6271f2 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1323,7 +1323,7 @@ extern void build_options(bool screen);
namecache_enable();
- if (!W_ERROR_IS_OK(init_registry()))
+ if (!W_ERROR_IS_OK(registry_init_full()))
exit(1);
#if 0