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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/locktest.c b/source4/torture/locktest.c
index 4f0bfa8e06..d18a1cb6e9 100644
--- a/source4/torture/locktest.c
+++ b/source4/torture/locktest.c
@@ -123,7 +123,7 @@ static struct smbcli_state *connect_one(char *share, int snum, int conn)
char **unc_list = NULL;
int num_unc_names;
const char *p;
- p = lp_parm_string(-1, "torture", "unclist");
+ p = lp_parm_string(NULL, "torture", "unclist");
if (p) {
char *h, *s;
unc_list = file_lines_load(p, &num_unc_names, NULL);