X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/62078c1601192c2594b954a122ac44a0c319c9bd..af49b7df1332f8c6f625b754a01da0525c5fe8b3:/keydb_db2.c?ds=sidebyside 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);