summaryrefslogtreecommitdiffstats
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
commitb8ccd205eec29ca69966ee04e2f9e00fef8b2745 (patch)
tree35d2eb0104b91588cb9344875f776912cbd36768
parentbdd254d0bbb7423e6a7d054303319a7bc2d56f37 (diff)
downloadsamba-b8ccd205eec29ca69966ee04e2f9e00fef8b2745.tar.gz
samba-b8ccd205eec29ca69966ee04e2f9e00fef8b2745.tar.xz
samba-b8ccd205eec29ca69966ee04e2f9e00fef8b2745.zip
param: Rename variable used for lp_debug_pid bDebugPid
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--lib/param/loadparm.c2
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
-rw-r--r--source3/param/loadparm.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index bf29b863a8..7fcd32755e 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -2317,7 +2317,7 @@ static bool lpcfg_update(struct loadparm_context *lp_ctx)
settings.timestamp_logs = lp_ctx->globals->bTimestampLogs;
settings.debug_prefix_timestamp = lp_ctx->globals->bDebugPrefixTimestamp;
settings.debug_hires_timestamp = lp_ctx->globals->debug_hires_timestamp;
- settings.debug_pid = lp_ctx->globals->bDebugPid;
+ settings.debug_pid = lp_ctx->globals->debug_pid;
settings.debug_uid = lp_ctx->globals->bDebugUid;
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 dac2bad954..fd88adf6a6 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -168,7 +168,7 @@ FN_GLOBAL_BOOL(clustering, clustering)
FN_GLOBAL_BOOL(create_krb5_conf, create_krb5_conf)
FN_GLOBAL_BOOL(debug_class, debug_class)
FN_GLOBAL_BOOL(debug_hires_timestamp, debug_hires_timestamp)
-FN_GLOBAL_BOOL(debug_pid, bDebugPid)
+FN_GLOBAL_BOOL(debug_pid, debug_pid)
FN_GLOBAL_BOOL(debug_prefix_timestamp, bDebugPrefixTimestamp)
FN_GLOBAL_BOOL(debug_uid, bDebugUid)
FN_GLOBAL_BOOL(defer_sharing_violations, bDeferSharingViolations)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 76641ef811..9c8e1029ba 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1229,7 +1229,7 @@ static struct parm_struct parm_table[] = {
.label = "debug pid",
.type = P_BOOL,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(bDebugPid),
+ .offset = GLOBAL_VAR(debug_pid),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 5bc8c35aa1..467290f653 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -845,7 +845,7 @@ static void init_globals(bool reinit_globals)
string_set(&Globals.loglevel, "0");
Globals.bDebugPrefixTimestamp = false;
Globals.debug_hires_timestamp = true;
- Globals.bDebugPid = false;
+ Globals.debug_pid = false;
Globals.bDebugUid = false;
Globals.debug_class = false;
Globals.bEnableCoreFiles = true;