made it secure (go into chroot before accessing file)
[util-vserver.git] / util-vserver / src / new-namespace.c
index 5684f1e..fe462bd 100644 (file)
@@ -69,7 +69,8 @@ static void
 showVersion()
 {
   WRITE_MSG(1,
-           "new-namespace 0.1\n"
+           "new-namespace " VERSION " -- executes programs in a new namespace\n"
+           "This program is part of " PACKAGE_STRING "\n"
            "Copyright (C) 2003 Enrico Scholz\n"
            VERSION_COPYRIGHT_DISCLAIMER);
   exit(0);
@@ -94,7 +95,7 @@ int main(int argc, char *argv[])
 
   p   = wait4(pid, &status, 0,0);
   if (p==-1) {
-    perror("waitpid()");
+    perror("wait4()");
     exit(255);
   }