summaryrefslogtreecommitdiffstats
path: root/lib/param/param_table.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-02-02 14:05:39 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-02-03 13:26:34 +1300
commit3e8d02be8ef9b4c0e3cacf20f2c103dc07c1b531 (patch)
treefea462acd10945c9103e2959e4349bc77e315f04 /lib/param/param_table.c
parentd85bab275aa3794cefd838bbf1516ea63ed668fc (diff)
downloadsamba-3e8d02be8ef9b4c0e3cacf20f2c103dc07c1b531.tar.gz
samba-3e8d02be8ef9b4c0e3cacf20f2c103dc07c1b531.tar.xz
samba-3e8d02be8ef9b4c0e3cacf20f2c103dc07c1b531.zip
loadparm: rename the variable for "path" from pathname to path
for consistency docs/variable/function. 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index f7738143ee..2328e7583a 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -310,7 +310,7 @@ static struct parm_struct parm_table[] = {
.label = "path",
.type = P_STRING,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(pathname),
+ .offset = LOCAL_VAR(path),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_BASIC | FLAG_ADVANCED | FLAG_SHARE | FLAG_PRINT,
@@ -319,7 +319,7 @@ static struct parm_struct parm_table[] = {
.label = "directory",
.type = P_STRING,
.p_class = P_LOCAL,
- .offset = LOCAL_VAR(pathname),
+ .offset = LOCAL_VAR(path),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_HIDE,