summaryrefslogtreecommitdiff
path: root/source4/cluster
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-02 01:52:18 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-01 19:57:01 -0600
commit9d136bc0a323171b13ec047816033ae4fac9e9d4 (patch)
tree426a7e9c243b897cf2464d84c6f4e78f711630a2 /source4/cluster
parent7d5f0e0893d42b56145a3ffa34e3b4b9906cbd91 (diff)
downloadsamba-9d136bc0a323171b13ec047816033ae4fac9e9d4.tar.gz
samba-9d136bc0a323171b13ec047816033ae4fac9e9d4.tar.bz2
samba-9d136bc0a323171b13ec047816033ae4fac9e9d4.zip
r26640: Janitorial: Remove some more uses of global_loadparm.
(This used to be commit c863f4ebde8efa1a695b4469142d6719e30bc419)
Diffstat (limited to 'source4/cluster')
-rw-r--r--source4/cluster/ctdb/ctdb_cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cluster/ctdb/ctdb_cluster.c b/source4/cluster/ctdb/ctdb_cluster.c
index 9a543ee3ee..53df1e968e 100644
--- a/source4/cluster/ctdb/ctdb_cluster.c
+++ b/source4/cluster/ctdb/ctdb_cluster.c
@@ -83,7 +83,7 @@ static struct tdb_wrap *ctdb_tdb_tmp_open(struct cluster_ops *ops,
struct loadparm_context *lp_ctx,
const char *dbname, int flags)
{
- const char *dir = lp_parm_string(global_loadparm, NULL, "ctdb", "shared data");
+ const char *dir = lp_parm_string(lp_ctx, NULL, "ctdb", "shared data");
char *path;
struct tdb_wrap *w;
if (dir == NULL) {