diff options
author | Michael Adam <obnox@samba.org> | 2014-02-02 14:44:05 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-03 13:27:10 +1300 |
commit | 0cdb0f899809b624b5b5b234acdf974ac14a8d13 (patch) | |
tree | ddd8120fcccbe2eb194946a811935f44628cca09 /lib/param/param_table.c | |
parent | 16c87623309db3b281a6ccd54fc680d351965eb1 (diff) | |
download | samba-0cdb0f899809b624b5b5b234acdf974ac14a8d13.tar.gz samba-0cdb0f899809b624b5b5b234acdf974ac14a8d13.tar.xz samba-0cdb0f899809b624b5b5b234acdf974ac14a8d13.zip |
loadparm: rename variable for "read only" from readonly to read_only
for consistency docs/functions/variables
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'lib/param/param_table.c')
-rw-r--r-- | lib/param/param_table.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c index d3782544ee..7ff9b33978 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -845,7 +845,7 @@ static struct parm_struct parm_table[] = { .label = "read only", .type = P_BOOL, .p_class = P_LOCAL, - .offset = LOCAL_VAR(readonly), + .offset = LOCAL_VAR(read_only), .special = NULL, .enum_list = NULL, .flags = FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE, @@ -854,7 +854,7 @@ static struct parm_struct parm_table[] = { .label = "write ok", .type = P_BOOLREV, .p_class = P_LOCAL, - .offset = LOCAL_VAR(readonly), + .offset = LOCAL_VAR(read_only), .special = NULL, .enum_list = NULL, .flags = FLAG_HIDE, @@ -863,7 +863,7 @@ static struct parm_struct parm_table[] = { .label = "writeable", .type = P_BOOLREV, .p_class = P_LOCAL, - .offset = LOCAL_VAR(readonly), + .offset = LOCAL_VAR(read_only), .special = NULL, .enum_list = NULL, .flags = FLAG_HIDE, @@ -872,7 +872,7 @@ static struct parm_struct parm_table[] = { .label = "writable", .type = P_BOOLREV, .p_class = P_LOCAL, - .offset = LOCAL_VAR(readonly), + .offset = LOCAL_VAR(read_only), .special = NULL, .enum_list = NULL, .flags = FLAG_HIDE, |