summaryrefslogtreecommitdiffstats
path: root/source4/torture/basic/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/basic/misc.c')
-rw-r--r--source4/torture/basic/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c
index d493aa819ec..19eef87f6f4 100644
--- a/source4/torture/basic/misc.c
+++ b/source4/torture/basic/misc.c
@@ -442,7 +442,7 @@ static int init_benchrw_params(struct torture_context *tctx,
lpar->writeratio = torture_setting_int(tctx, "writeratio",5);
lpar->num_parallel_requests = torture_setting_int(
tctx, "parallel_requests", 5);
- lpar->workgroup = lp_workgroup();
+ lpar->workgroup = lp_workgroup(global_loadparm);
p = torture_setting_string(tctx, "unclist", NULL);
if (p) {