summaryrefslogtreecommitdiff
path: root/source4/torture/locktest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/locktest.c')
-rw-r--r--source4/torture/locktest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/locktest.c b/source4/torture/locktest.c
index d18a1cb6e9..e99ff715a2 100644
--- a/source4/torture/locktest.c
+++ b/source4/torture/locktest.c
@@ -614,10 +614,10 @@ static void usage(void)
exact_error_codes = True;
break;
case 'l':
- lp_set_cmdline("torture:unclist", optarg);
+ lp_set_cmdline(global_loadparm, "torture:unclist", optarg);
break;
case 'W':
- lp_set_cmdline("workgroup", optarg);
+ lp_set_cmdline(global_loadparm, "workgroup", optarg);
break;
case 'h':
usage();