summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
-rw-r--r--source3/param/loadparm.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 54eef1910d..dbcf7e1b65 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -89,7 +89,7 @@ FN_LOCAL_BOOL(shortpreservecase, shortpreservecase)
FN_LOCAL_BOOL(hide_dot_files, hide_dot_files)
FN_LOCAL_BOOL(hide_special_files, hide_special_files)
FN_LOCAL_BOOL(hideunreadable, hideunreadable)
-FN_LOCAL_BOOL(hideunwriteable_files, bHideUnWriteableFiles)
+FN_LOCAL_BOOL(hideunwriteable_files, hideunwriteable_files)
FN_LOCAL_BOOL(access_based_share_enum, bAccessBasedShareEnum)
FN_LOCAL_BOOL(guest_ok, bGuest_ok)
FN_LOCAL_BOOL(guest_only, bGuest_only)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index d69825629a..7cd5207f63 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -2451,7 +2451,7 @@ static struct parm_struct parm_table[] = {
.label = "hide unwriteable files",
.type = P_BOOL,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(bHideUnWriteableFiles),
+ .offset = LOCAL_VAR(hideunwriteable_files),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index c505f550be..c1543a0d5d 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -209,7 +209,7 @@ static struct loadparm_service sDefault =
.hide_dot_files = true,
.hide_special_files = false,
.hideunreadable = false,
- .bHideUnWriteableFiles = false,
+ .hideunwriteable_files = false,
.browseable = true,
.bAccessBasedShareEnum = false,
.bAvailable = true,