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
commit0a925317a027d56e72bb72ecf192d00cb24d3415 (patch)
treec150403f440cca7a41629a6a159c98c3960d266b /lib/param
parenteb4eadadf0ce72c04c6ec7d53ded0fcacd13e60c (diff)
param: Rename variable used for lp_debug_class bDebugClass
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 eab1c3b5ac..115a57c838 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -2319,7 +2319,7 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
settings.debug_hires_timestamp = lp_ctx->globals->bDebugHiresTimestamp;
settings.debug_pid = lp_ctx->globals->bDebugPid;
settings.debug_uid = lp_ctx->globals->bDebugUid;
- settings.debug_class = lp_ctx->globals->bDebugClass;
+ settings.debug_class = lp_ctx->globals->debug_class;
debug_set_settings(&settings);
/* FIXME: This is a bit of a hack, but we can't use a global, since
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c
index fb5d7ebe98..3ba8032a53 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -166,7 +166,7 @@ FN_GLOBAL_BOOL(client_use_spnego, client_use_spnego)
FN_GLOBAL_BOOL(client_use_spnego_principal, client_use_spnego_principal)
FN_GLOBAL_BOOL(clustering, clustering)
FN_GLOBAL_BOOL(create_krb5_conf, create_krb5_conf)
-FN_GLOBAL_BOOL(debug_class, bDebugClass)
+FN_GLOBAL_BOOL(debug_class, debug_class)
FN_GLOBAL_BOOL(debug_hires_timestamp, bDebugHiresTimestamp)
FN_GLOBAL_BOOL(debug_pid, bDebugPid)
FN_GLOBAL_BOOL(debug_prefix_timestamp, bDebugPrefixTimestamp)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 99054d8fd1..4079169d02 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1247,7 +1247,7 @@ static struct parm_struct parm_table[] = {
.label = "debug class",
.type = P_BOOL,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(bDebugClass),
+ .offset = GLOBAL_VAR(debug_class),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,