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 90e2eec2be..119b5186d9 100644
--- a/source4/torture/locktest.c
+++ b/source4/torture/locktest.c
@@ -572,7 +572,7 @@ static void usage(void)
argc -= NSERVERS;
argv += NSERVERS;
- lp_ctx = loadparm_init(talloc_autofree_context());
+ global_loadparm = lp_ctx = loadparm_init(talloc_autofree_context());
lp_load(lp_ctx, dyn_CONFIGFILE);
servers[0] = cli_credentials_init(talloc_autofree_context());