summaryrefslogtreecommitdiffstats
path: root/lib/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:03:45 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:51 -0800
commitbb2e797193fcab78617bcaec60412950053395dc (patch)
treeec6c3d6793b77d6bcd113096db3ed36d12a26bf4 /lib/param
parentbb2e4bd78f12bb8eeb6e50b12a8b93e27e00b862 (diff)
downloadsamba-bb2e797193fcab78617bcaec60412950053395dc.tar.gz
samba-bb2e797193fcab78617bcaec60412950053395dc.tar.xz
samba-bb2e797193fcab78617bcaec60412950053395dc.zip
param: Rename variable used for lp_debug_uid bDebugUid
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/loadparm.c2
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index 90ecaf1627..2d91fcb56e 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -2318,7 +2318,7 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
settings.debug_prefix_timestamp = lp_ctx->globals->debug_prefix_timestamp;
settings.debug_hires_timestamp = lp_ctx->globals->debug_hires_timestamp;
settings.debug_pid = lp_ctx->globals->debug_pid;
- settings.debug_uid = lp_ctx->globals->bDebugUid;
+ settings.debug_uid = lp_ctx->globals->debug_uid;
settings.debug_class = lp_ctx->globals->debug_class;
debug_set_settings(&settings);
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index 5f748c01b6..f0d0949a5e 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -170,7 +170,7 @@ FN_GLOBAL_BOOL(debug_class, debug_class)
FN_GLOBAL_BOOL(debug_hires_timestamp, debug_hires_timestamp)
FN_GLOBAL_BOOL(debug_pid, debug_pid)
FN_GLOBAL_BOOL(debug_prefix_timestamp, debug_prefix_timestamp)
-FN_GLOBAL_BOOL(debug_uid, bDebugUid)
+FN_GLOBAL_BOOL(debug_uid, debug_uid)
FN_GLOBAL_BOOL(defer_sharing_violations, bDeferSharingViolations)
FN_GLOBAL_BOOL(disable_netbios, bDisableNetbios)
FN_GLOBAL_BOOL(_disable_spoolss, bDisableSpoolss)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 78cbd1f899..2fb165f1d9 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1238,7 +1238,7 @@ static struct parm_struct parm_table[] = {
.label = "debug uid",
.type = P_BOOL,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(bDebugUid),
+ .offset = GLOBAL_VAR(debug_uid),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,