summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_conf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index 0032d549eb..b88242ef8a 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -154,9 +154,9 @@ static bool libnet_conf_value_exists(struct registry_key *key,
/*
* create a subkey of KEY_SMBCONF
*/
-static WERROR libnet_smbconf_reg_create_service_key(TALLOC_CTX *ctx,
- const char * subkeyname,
- struct registry_key **newkey)
+static WERROR libnet_conf_reg_create_service_key(TALLOC_CTX *ctx,
+ const char * subkeyname,
+ struct registry_key **newkey)
{
WERROR werr = WERR_OK;
struct registry_key *create_parent = NULL;
@@ -623,7 +623,7 @@ WERROR libnet_smbconf_create_share(const char *servicename)
goto done;
}
- werr = libnet_smbconf_reg_create_service_key(mem_ctx, servicename, &key);
+ werr = libnet_conf_reg_create_service_key(mem_ctx, servicename, &key);
done:
TALLOC_FREE(mem_ctx);