From d981c69a18599ce7848afc3e77ad8ab14e6efbe8 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 26 Aug 2007 18:24:12 +0000 Subject: r24670: Use torture functions for settings. (This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8) --- source4/torture/raw/oplock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/raw/oplock.c') diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index d2e15f8e82..1d6b22244a 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -1313,7 +1313,7 @@ BOOL torture_bench_oplock(struct torture_context *torture) struct smbcli_state **cli; BOOL ret = True; TALLOC_CTX *mem_ctx = talloc_new(torture); - int torture_nprocs = lp_parm_int(-1, "torture", "nprocs", 4); + int torture_nprocs = torture_setting_int(torture, "nprocs", 4); int i, count=0; int timelimit = torture_setting_int(torture, "timelimit", 10); union smb_open io; -- cgit