Comment on kernel stuff
[oweals/busybox.git] / coreutils / pwd.c
index 19494a96cbd6d840d9037d3655834c09e9530fdf..87553b3de38a017c8798d1312a46c630c0b6dfa1 100644 (file)
@@ -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", strerror(errno));
+               fatalError("pwd: %s\n", strerror(errno));
 
        printf("%s\n", buf);
-       exit(TRUE);
+       return(TRUE);
 }