From 60b314428008878f949b9fba54825c2f4f900288 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 15 Feb 2008 13:29:32 +1100 Subject: fixed loadparm handling in standalone tests (This used to be commit 2633f4259ed30ab990017c4c3205f92bf38f0135) --- source4/torture/locktest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/locktest.c') 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()); -- cgit