chiark / gitweb /
mac fix
[disorder] / server / deadlock.c
index aa29b419e89d115458dbebf3f386cf7159dac175..82e796d695a99c982a1fd9ed290055956802bf28 100644 (file)
@@ -78,7 +78,6 @@ int main(int argc, char **argv) {
   int n, err, aborted;
 
   set_progname(argv);
-  mem_init(0);
   if(!setlocale(LC_CTYPE, "")) fatal(errno, "error calling setlocale");
   while((n = getopt_long(argc, argv, "hVc:dD", options, 0)) >= 0) {
     switch(n) {
@@ -95,7 +94,7 @@ int main(int argc, char **argv) {
     openlog(progname, LOG_PID, LOG_DAEMON);
     log_default = &log_syslog;
   }
-  if(config_read()) fatal(0, "cannot read configuration");
+  if(config_read(0)) fatal(0, "cannot read configuration");
   info("started");
   trackdb_init(0);
   while(getppid() != 1) {
@@ -121,4 +120,3 @@ fill-column:79
 indent-tabs-mode:nil
 End:
 */
-/* arch-tag:8VzpRqqo2qifzXWK1GxF5A */