initial checkin
[util-vserver.git] / util-vserver / src / vunify-init.hc
index 6346b33..f5bc778 100644 (file)
@@ -15,7 +15,6 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-#include "wrappers-io.h"
 #include "pathconfig.h"
 
 static void
@@ -231,7 +230,7 @@ initModeManually(struct Arguments const UNUSED *args, int argc, char *argv[])
     exit(1);
   }
 
-  initMatchList(&global_info.dst_list, 0, argv[0], argv[1]);
+  initMatchList(&global_info.dst_list, 0, strdup(argv[0]), argv[1]);
 
   --count;
   global_info.src_lists.v = Emalloc(sizeof(struct MatchList) * count);