param: Rename variable used for lp_rootdir szRootdir
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Dec 2013 03:04:33 +0000 (16:04 +1300)
committerJeremy Allison <jra@samba.org>
Sat, 25 Jan 2014 00:19:04 +0000 (16:19 -0800)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/param/param_functions.c
lib/param/param_table.c

index 672024926c59fad7499c0c68214624b0db93236e..00e48999519ff29faf0adfce92a6882c3c1dfdfc 100644 (file)
@@ -403,7 +403,7 @@ FN_GLOBAL_STRING(perfcount_module, perfcount_module)
 FN_GLOBAL_STRING(remote_announce, remote_announce)
 FN_GLOBAL_STRING(remote_browse_sync, remote_browse_sync)
 FN_GLOBAL_STRING(renameuser_script, renameuser_script)
-FN_GLOBAL_STRING(rootdir, szRootdir)
+FN_GLOBAL_STRING(rootdir, rootdir)
 FN_GLOBAL_STRING(serverstring, szServerString)
 FN_GLOBAL_STRING(setprimarygroup_script, szSetPrimaryGroupScript)
 FN_GLOBAL_STRING(set_quota_command, szSetQuota)
index 4cbbf368774bca7ade79a9869a489735d4694883..b25fdb20df16e877291f44d9456f225e45156586 100644 (file)
@@ -556,7 +556,7 @@ static struct parm_struct parm_table[] = {
                .label          = "root directory",
                .type           = P_STRING,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(szRootdir),
+               .offset         = GLOBAL_VAR(rootdir),
                .special        = NULL,
                .enum_list      = NULL,
                .flags          = FLAG_ADVANCED,
@@ -565,7 +565,7 @@ static struct parm_struct parm_table[] = {
                .label          = "root dir",
                .type           = P_STRING,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(szRootdir),
+               .offset         = GLOBAL_VAR(rootdir),
                .special        = NULL,
                .enum_list      = NULL,
                .flags          = FLAG_HIDE,
@@ -574,7 +574,7 @@ static struct parm_struct parm_table[] = {
                .label          = "root",
                .type           = P_STRING,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(szRootdir),
+               .offset         = GLOBAL_VAR(rootdir),
                .special        = NULL,
                .enum_list      = NULL,
                .flags          = FLAG_HIDE,