summaryrefslogtreecommitdiff
path: root/source4/torture/masktest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/masktest.c')
-rw-r--r--source4/torture/masktest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c
index d1b853de72..855da54340 100644
--- a/source4/torture/masktest.c
+++ b/source4/torture/masktest.c
@@ -325,7 +325,7 @@ static void usage(void)
argc -= 1;
argv += 1;
- lp_ctx = loadparm_init(talloc_autofree_context());
+ global_loadparm = lp_ctx = loadparm_init(talloc_autofree_context());
lp_load(lp_ctx, dyn_CONFIGFILE);
credentials = cli_credentials_init(talloc_autofree_context());