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 fc339bfcc5..562defe09e 100644
--- a/source4/torture/locktest.c
+++ b/source4/torture/locktest.c
@@ -124,7 +124,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(NULL, "torture", "unclist");
+ p = lp_parm_string(global_loadparm, NULL, "torture", "unclist");
if (p) {
char *h, *s;
unc_list = file_lines_load(p, &num_unc_names, NULL);