projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When mounting a ro fs rw, print warning and then mount it ro. Patch
[oweals/busybox.git]
/
pwd.c
diff --git
a/pwd.c
b/pwd.c
index 146ef332baecafe3e7e59101406ff7f7c5aeb25a..f0c923b7b3cc35b1f777928feb30bdeba20a8fdc 100644
(file)
--- a/
pwd.c
+++ b/
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\n", strerror(errno));
+ fatalError("%s\n", strerror(errno));
printf("%s\n", buf);
-
exit
(TRUE);
+
return
(TRUE);
}