gentoo: use /var/run for new /run compatibility
[util-vserver.git] / src / ncontext.c
index 158732d..01f2fa1 100644 (file)
@@ -183,7 +183,7 @@ doExternalSync(int fd, char const *msg)
 }
 
 static inline ALWAYSINLINE int
-doit(struct Arguments const *args, int argc, char *argv[])
+doit(struct Arguments const *args, char *argv[])
 {
   int                  p[2][2];
   pid_t                        pid = initSync(p, args->do_disconnect);
@@ -279,7 +279,7 @@ int main (int argc, char *argv[])
     args.nid = Evc_get_task_nid(0);
   
   if (!args.do_create && !args.do_migrate)
-    WRITE_MSG(2, "Neither '--create' nor '--migrate specified; try '--help' for more information\n");
+    WRITE_MSG(2, "Neither '--create' nor '--migrate' specified; try '--help' for more information\n");
   else if (args.do_create && args.do_migrate)
     WRITE_MSG(2, "Can not specify '--create' and '--migrate' at the same time; try '--help' for more information\n");
   else if (!args.do_create && args.nid==VC_DYNAMIC_XID)
@@ -287,7 +287,7 @@ int main (int argc, char *argv[])
   else if (optind>=argc)
     WRITE_MSG(2, "No command given; use '--help' for more information.\n");
   else
-    return doit(&args, argc, argv);
+    return doit(&args, argv);
 
   return wrapper_exit_code;
 }