projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Comment on kernel stuff
[oweals/busybox.git]
/
coreutils
/
pwd.c
diff --git
a/coreutils/pwd.c
b/coreutils/pwd.c
index 19494a96cbd6d840d9037d3655834c09e9530fdf..87553b3de38a017c8798d1312a46c630c0b6dfa1 100644
(file)
--- a/
coreutils/pwd.c
+++ b/
coreutils/pwd.c
@@
-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);
}