summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/registry/tools/regdiff.c2
-rw-r--r--source4/lib/registry/tools/regpatch.c2
-rw-r--r--source4/lib/registry/tools/regshell.c2
-rw-r--r--source4/lib/registry/tools/regtree.c2
-rw-r--r--source4/torture/smbiconv.c2
-rw-r--r--source4/utils/nmblookup.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/source4/lib/registry/tools/regdiff.c b/source4/lib/registry/tools/regdiff.c
index dfc8be13ca..4260a56142 100644
--- a/source4/lib/registry/tools/regdiff.c
+++ b/source4/lib/registry/tools/regdiff.c
@@ -157,7 +157,7 @@ static void writediff(struct registry_key *oldkey, struct registry_key *newkey,
return 1;
}
}
- setup_logging(argv[0], True);
+ setup_logging(argv[0], DEBUG_STDOUT);
poptFreeContext(pc);
diff --git a/source4/lib/registry/tools/regpatch.c b/source4/lib/registry/tools/regpatch.c
index aeb418560d..5c9851b71b 100644
--- a/source4/lib/registry/tools/regpatch.c
+++ b/source4/lib/registry/tools/regpatch.c
@@ -766,7 +766,7 @@ static int nt_apply_reg_command_file(struct registry_context *r, const char *cmd
while((opt = poptGetNextOpt(pc)) != -1) {
}
- setup_logging(argv[0], True);
+ setup_logging(argv[0], DEBUG_STDOUT);
if (remote) {
error = reg_open_remote (&h, cmdline_credentials, remote);
diff --git a/source4/lib/registry/tools/regshell.c b/source4/lib/registry/tools/regshell.c
index ecc2bfc7aa..f1fd740830 100644
--- a/source4/lib/registry/tools/regshell.c
+++ b/source4/lib/registry/tools/regshell.c
@@ -392,7 +392,7 @@ static char **reg_completion(const char *text, int start, int end)
while((opt = poptGetNextOpt(pc)) != -1) {
}
- setup_logging("regtree", True);
+ setup_logging("regtree", DEBUG_STDOUT);
if (remote) {
error = reg_open_remote (&h, cmdline_credentials, remote);
diff --git a/source4/lib/registry/tools/regtree.c b/source4/lib/registry/tools/regtree.c
index 72cb0670de..2cf5f6ab96 100644
--- a/source4/lib/registry/tools/regtree.c
+++ b/source4/lib/registry/tools/regtree.c
@@ -102,7 +102,7 @@ static void print_tree(int l, struct registry_key *p, int fullpath, int novals)
while((opt = poptGetNextOpt(pc)) != -1) {
}
- setup_logging("regtree", True);
+ setup_logging("regtree", DEBUG_STDOUT);
if (remote) {
error = reg_open_remote(&h, cmdline_credentials, remote);
diff --git a/source4/torture/smbiconv.c b/source4/torture/smbiconv.c
index 8e68d252d6..7ca6bb1c12 100644
--- a/source4/torture/smbiconv.c
+++ b/source4/torture/smbiconv.c
@@ -197,7 +197,7 @@ int main(int argc, char *argv[])
/* the following functions are part of the Samba debugging
facilities. See lib/debug.c */
- setup_logging("smbiconv", True);
+ setup_logging("smbiconv", DEBUG_STDOUT);
if (preload_modules[0]) smb_load_modules(preload_modules);
diff --git a/source4/utils/nmblookup.c b/source4/utils/nmblookup.c
index bf034b26a3..fb21cb5529 100644
--- a/source4/utils/nmblookup.c
+++ b/source4/utils/nmblookup.c
@@ -271,7 +271,7 @@ int main(int argc,char *argv[])
{ 0, 0, 0, 0 }
};
- setup_logging(argv[0], True);
+ setup_logging(argv[0], DEBUG_STDOUT);
pc = poptGetContext("nmblookup", argc, (const char **)argv, long_options,
POPT_CONTEXT_KEEP_FIRST);