From 4d75443fb35f849c9cd9c440622b25b5817be442 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 24 Dec 2013 16:04:33 +1300 Subject: [PATCH] param: Rename variable used for lp_rootdir szRootdir Signed-off-by: Andrew Bartlett Signed-off-by: Garming Sam Reviewed-by: Jeremy Allison --- lib/param/param_functions.c | 2 +- lib/param/param_table.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index 672024926c5..00e48999519 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -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) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 4cbbf368774..b25fdb20df1 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -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,