summaryrefslogtreecommitdiff
path: root/source4/torture/raw/oplock.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-26 18:24:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:36 -0500
commitd981c69a18599ce7848afc3e77ad8ab14e6efbe8 (patch)
tree614a6abfaf1c3a8618a81a8b744f48835840b4c4 /source4/torture/raw/oplock.c
parent3f6cf9672ba1d25f10cbd0bb8ce1525c592a8e78 (diff)
downloadsamba-d981c69a18599ce7848afc3e77ad8ab14e6efbe8.tar.gz
samba-d981c69a18599ce7848afc3e77ad8ab14e6efbe8.tar.bz2
samba-d981c69a18599ce7848afc3e77ad8ab14e6efbe8.zip
r24670: Use torture functions for settings.
(This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8)
Diffstat (limited to 'source4/torture/raw/oplock.c')
-rw-r--r--source4/torture/raw/oplock.c2
1 files changed, 1 insertions, 1 deletions
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;