From 216d9691803ce58da97458466fd0d2f964c26b83 Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Tue, 4 Feb 2014 15:09:00 +1300 Subject: param: rename lp function and variable from "adduser_script" to "add_user_script" Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett Reviewed-by: Jeremy Allison --- lib/param/param_functions.c | 2 +- lib/param/param_table.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index 250053c6d5f..686484e0192 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -372,7 +372,7 @@ FN_GLOBAL_STRING(add_machine_script, add_machine_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, adduser_script) +FN_GLOBAL_STRING(add_user_script, add_user_script) FN_GLOBAL_STRING(addusertogroup_script, addusertogroup_script) FN_GLOBAL_STRING(auto_services, auto_services) FN_GLOBAL_STRING(change_share_cmd, change_share_cmd) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 5f7e06e2430..85ef490e4ef 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(adduser_script), + .offset = GLOBAL_VAR(add_user_script), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED, -- cgit