do not do the lo-check anymore
[util-vserver.git] / util-vserver / src / clearenv.c
index cff6dc8..c9e7062 100644 (file)
 #include "util.h"
 #include <stdlib.h>
 #include <stdio.h>
+#include <libgen.h>
 
 static void
 showHelp(int fd, char const *cmd, int res)
 {
+  VSERVER_DECLARE_CMD(cmd);
+  
   WRITE_MSG(fd, "Usage:  ");
   WRITE_STR(fd, cmd);
   WRITE_MSG(fd,
-           "<cmd> <args>*\n\n"
+           " <cmd> <args>*\n\n"
            "Please report bugs to " PACKAGE_BUGREPORT "\n");
   exit(res);
 }
@@ -64,6 +67,6 @@ int main(int argc, char *argv[])
   }
 
   execve(argv[1], argv+1, env);
-  perror("execve()");
+  perror("clearenv: execve()");
   return 255;
 }