summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-27 23:31:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:24 -0500
commit3048e9ad654506219b169a934edded388d10fcad (patch)
treec1844fe26108014e59c2be927266783b67124e6e /source4/utils
parent3ff257b36b9a7adb986f39f66b2c8181b61a29ee (diff)
downloadsamba-3048e9ad654506219b169a934edded388d10fcad.tar.gz
samba-3048e9ad654506219b169a934edded388d10fcad.tar.bz2
samba-3048e9ad654506219b169a934edded388d10fcad.zip
r25392: Add loadparm context as argument in a couple more places.
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
Diffstat (limited to 'source4/utils')
-rw-r--r--source4/utils/testparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/utils/testparm.c b/source4/utils/testparm.c
index 160cf1cc0a..d8b6069791 100644
--- a/source4/utils/testparm.c
+++ b/source4/utils/testparm.c
@@ -137,7 +137,7 @@ static int do_global_checks(void)
*/
/* We need this to force the output */
- lp_set_cmdline("log level", "2");
+ lp_set_cmdline(global_loadparm, "log level", "2");
fprintf(stderr,"Load smb config files from %s\n",lp_configfile());
@@ -212,7 +212,7 @@ static int do_global_checks(void)
if (!parameter_name) {
lp_dump_one(stdout, show_defaults, service);
} else {
- ret = !lp_dump_a_parameter(s, parameter_name, stdout, (service == NULL));
+ ret = !lp_dump_a_parameter(global_loadparm, s, parameter_name, stdout, (service == NULL));
}
} else {
lp_dump(global_loadparm, stdout, show_defaults, lp_numservices(global_loadparm));