summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index c28e9f31c0..c5663b09da 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -204,7 +204,7 @@ FN_GLOBAL_BOOL(obey_pam_restrictions, obey_pam_restrictions)
FN_GLOBAL_BOOL(pam_password_change, pam_password_change)
FN_GLOBAL_BOOL(passdb_expand_explicit, passdb_expand_explicit)
FN_GLOBAL_BOOL(passwd_chat_debug, passwd_chat_debug)
-FN_GLOBAL_BOOL(registry_shares, bRegistryShares)
+FN_GLOBAL_BOOL(registry_shares, registry_shares)
FN_GLOBAL_BOOL(reject_md5_clients, bRejectMD5Clients)
FN_GLOBAL_BOOL(reject_md5_servers, bRejectMD5Servers)
FN_GLOBAL_BOOL(require_strong_key, bRequireStrongKey)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 423c37c7cf..3e0173239f 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -3634,7 +3634,7 @@ static struct parm_struct parm_table[] = {
.label = "registry shares",
.type = P_BOOL,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(bRegistryShares),
+ .offset = GLOBAL_VAR(registry_shares),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,