chiark / gitweb /
typo fix
[disorder] / server / dump.c
index af1d43d13294cd502f15cc8d23441f7c836f18af..4b023aa0b37bff5285fb6bacfee5ac85c8c7bca7 100644 (file)
@@ -15,7 +15,9 @@
  * 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/dump.c
+ * @brief Dump and restore database contents
+ */
 #include "disorder-server.h"
 
 static const struct option options[] = {
@@ -471,7 +473,7 @@ int main(int argc, char **argv) {
       fatal(0, "specify only a dump file name");
     path = argv[optind];
   }
-  if(config_read(0)) fatal(0, "cannot read configuration");
+  if(config_read(0, NULL)) fatal(0, "cannot read configuration");
   trackdb_init(recover|TRACKDB_MAY_CREATE);
   trackdb_open(TRACKDB_NO_UPGRADE);
   if(dump) {