summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_conf.c2
-rw-r--r--source3/utils/net_conf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_conf.c b/source3/libnet/libnet_conf.c
index cf11a42329..be45e30d50 100644
--- a/source3/libnet/libnet_conf.c
+++ b/source3/libnet/libnet_conf.c
@@ -612,7 +612,7 @@ bool libnet_conf_share_exists(const char *servicename)
/**
* Add a service if it does not already exist.
*/
-WERROR libnet_smbconf_create_share(const char *servicename)
+WERROR libnet_conf_create_share(const char *servicename)
{
WERROR werr;
TALLOC_CTX *mem_ctx = talloc_stackframe();
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index be1447f182..c080da2d91 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -631,7 +631,7 @@ static int net_conf_addshare(int argc, const char **argv)
* create the share
*/
- werr = libnet_smbconf_create_share(sharename);
+ werr = libnet_conf_create_share(sharename);
if (!W_ERROR_IS_OK(werr)) {
d_fprintf(stderr, "Error creating share %s: %s\n",
sharename, dos_errstr(werr));