From de809313133dfe7756323620660adbc0bc2d991c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 24 Dec 2013 16:04:27 +1300 Subject: [PATCH] param: Rename variable used for lp_adduser_script szAddUserScript 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 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index fc83402e790..750a71af939 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -373,7 +373,7 @@ FN_GLOBAL_STRING(addmachine_script, addmachine_script) FN_GLOBAL_STRING(addport_cmd, addport_cmd) FN_GLOBAL_STRING(addprinter_cmd, addprinter_cmd) FN_GLOBAL_STRING(add_share_cmd, add_share_cmd) -FN_GLOBAL_STRING(adduser_script, szAddUserScript) +FN_GLOBAL_STRING(adduser_script, adduser_script) FN_GLOBAL_STRING(addusertogroup_script, szAddUserToGroupScript) FN_GLOBAL_STRING(auto_services, szAutoServices) FN_GLOBAL_STRING(change_share_cmd, szChangeShareCommand) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index a8af2cd40aa..5e8b7b958a3 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -2593,7 +2593,7 @@ static struct parm_struct parm_table[] = { .label = "add user script", .type = P_STRING, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(szAddUserScript), + .offset = GLOBAL_VAR(adduser_script), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED, -- 2.11.4.GIT