r26238: Add a loadparm context parameter to torture_context, remove more uses of...
[samba.git] / source4 / torture / raw / lockbench.c
index 855364b169738dca23d33b773302f25bcef0b0f3..633264ce0a8f1a347042dc2d852bb491433c11c2 100644 (file)
@@ -318,7 +318,7 @@ bool torture_bench_lock(struct torture_context *torture)
 
        progress = torture_setting_bool(torture, "progress", true);
 
-       nprocs = lp_parm_int(global_loadparm, NULL, "torture", "nprocs", 4);
+       nprocs = torture_setting_int(torture, "nprocs", 4);
 
        state = talloc_zero_array(mem_ctx, struct benchlock_state, nprocs);