Imported Upstream version 3.2.0
[debian/amanda] / client-src / rundump.c
index d6772fa57d03925cf615d8cd943d18c1545a4fb9..7b1e6fb9c0063bd6c3a184040b09156be8fb41e3 100644 (file)
@@ -33,9 +33,9 @@
  * argv[2] will be argv[0] of the DUMP program
  * ...
  */
-#include "util.h"
 #include "amanda.h"
-#include "version.h"
+#include "util.h"
+#include "conffile.h"
 
 int main(int argc, char **argv);
 
@@ -84,12 +84,14 @@ main(
     signal(SIGPIPE, SIG_IGN);
 
     dbopen(DBG_SUBDIR_CLIENT);
+    config_init(CONFIG_INIT_CLIENT, NULL);
+
     if (argc < 3) {
        error(_("Need at least 3 arguments\n"));
        /*NOTREACHED*/
     }
 
-    dbprintf(_("version %s\n"), version());
+    dbprintf(_("version %s\n"), VERSION);
 
 #ifdef ERRMSG                                                  /* { */