summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/tier.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/dht/src/tier.c')
-rw-r--r--xlators/cluster/dht/src/tier.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/cluster/dht/src/tier.c b/xlators/cluster/dht/src/tier.c
index ff31c17c7e2..c86eb4f5514 100644
--- a/xlators/cluster/dht/src/tier.c
+++ b/xlators/cluster/dht/src/tier.c
@@ -470,8 +470,9 @@ tier_process_brick_cbk (brick_list_t *local_brick, void *args) {
"DB Params cannot initialized!");
goto out;
}
- SET_DB_PARAM_TO_DICT(this->name, params_dict, GFDB_SQL_PARAM_DBPATH,
- db_path, ret, out);
+ SET_DB_PARAM_TO_DICT(this->name, params_dict,
+ (char *) gfdb_methods.get_db_path_key(),
+ db_path, ret, out);
/*Get the db connection*/
conn_node = gfdb_methods.init_db((void *)params_dict, dht_tier_db_type);