Brand new version of xargs. Tested thoroughly by Kent Robotti. (Domo arigato,
[oweals/busybox.git] / pwd.c
diff --git a/pwd.c b/pwd.c
index 146ef332baecafe3e7e59101406ff7f7c5aeb25a..c9de7778eec0765c75a1da43a1d2e4a553b560b9 100644 (file)
--- a/pwd.c
+++ b/pwd.c
@@ -21,7 +21,7 @@
  *
  */
 
-#include "internal.h"
+#include "busybox.h"
 #include <stdio.h>
 #include <dirent.h>
 #include <errno.h>
@@ -31,8 +31,8 @@ extern int pwd_main(int argc, char **argv)
        char buf[BUFSIZ + 1];
 
        if (getcwd(buf, sizeof(buf)) == NULL)
-               fatalError("pwd: %s\n", strerror(errno));
+               fatalError("%s\n", strerror(errno));
 
        printf("%s\n", buf);
-       exit(TRUE);
+       return(TRUE);
 }