X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/62078c1601192c2594b954a122ac44a0c319c9bd..93ff5d2dc0bd9248cb9b66533b1fe65654f8cafa:/keydb_db2.c?ds=inline diff --git a/keydb_db2.c b/keydb_db2.c index a30b62c..1303cd8 100644 --- a/keydb_db2.c +++ b/keydb_db2.c @@ -78,7 +78,7 @@ void initdb(void) */ db2_env.mp_size = 20 * 1024 * 1024; - ret = db_appinit(config.db2_dbpath, NULL, + ret = db_appinit(config.db_dir, NULL, &db2_env, DB_INIT_MPOOL|DB_INIT_LOCK); if (!ret) { db2_keydbfiles = (DB **) malloc(sizeof (DB *) * db2_numdb);