diff options
Diffstat (limited to 'source4/torture/masktest.c')
-rw-r--r-- | source4/torture/masktest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c index 53cceb9699..9019bf913b 100644 --- a/source4/torture/masktest.c +++ b/source4/torture/masktest.c @@ -285,7 +285,7 @@ static void usage(void) setup_logging("masktest", DEBUG_STDOUT); - lp_set_cmdline("log level", "0"); + lp_set_cmdline(global_loadparm, "log level", "0"); if (argc < 2 || argv[1][0] == '-') { usage(); @@ -325,7 +325,7 @@ static void usage(void) verbose++; break; case 'M': - lp_set_cmdline("max protocol", optarg); + lp_set_cmdline(global_loadparm, "max protocol", optarg); break; case 'U': cli_credentials_parse_string(credentials, optarg, CRED_SPECIFIED); |