X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/763d5e6ad88ef3ba1cd1d7742d060e4f1e54c6b8..1c8f3db88212b2f4a5f79122af84f76b2c60da01:/server/dump.c diff --git a/server/dump.c b/server/dump.c index f007f54..25dd01e 100644 --- a/server/dump.c +++ b/server/dump.c @@ -390,7 +390,7 @@ int main(int argc, char **argv) { char *tmp; FILE *fp; - mem_init(1); + mem_init(); while((n = getopt_long(argc, argv, "hVc:dDutsrRaP", options, 0)) >= 0) { switch(n) { case 'h': help(); @@ -423,7 +423,7 @@ int main(int argc, char **argv) { fatal(0, "specify only a dump file name"); path = argv[optind]; } - if(config_read()) fatal(0, "cannot read configuration"); + if(config_read(0)) fatal(0, "cannot read configuration"); trackdb_init(recover); trackdb_open(); if(dump) {