chiark / gitweb /
Fix mis-merged trackdb_open().
[disorder] / server / deadlock.c
index b53bbd5a43827fb987b96983dde3a904e8367bcc..d90a123b95e43788f8b6a44633a37af06b381c26 100644 (file)
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-
+/** @file server/deadlock.c
+ * @brief Deadlock monitor
+ *
+ * Spawned by the server.
+ */
 #include "disorder-server.h"
 
 static const struct option options[] = {
@@ -67,7 +71,7 @@ int main(int argc, char **argv) {
     openlog(progname, LOG_PID, LOG_DAEMON);
     log_default = &log_syslog;
   }
-  if(config_read(0)) fatal(0, "cannot read configuration");
+  if(config_read(0, NULL)) fatal(0, "cannot read configuration");
   info("started");
   trackdb_init(TRACKDB_NO_RECOVER);
   while(getppid() != 1) {