diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-12 17:02:35 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-12 17:02:35 +0000 |
commit | be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7 (patch) | |
tree | 088bc5b6e06d693ad8ca3eba078c0f3a8e302a24 /coreutils/pwd.c | |
parent | e58771e73c0d8589a458ede4088f5ba70eff917b (diff) | |
download | busybox-w32-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.tar.gz busybox-w32-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.tar.bz2 busybox-w32-be84cd4ef66f8956eb4c7ff0542fd1ba823a70e7.zip |
Always report the applet name when doing error reporting.
Diffstat (limited to 'coreutils/pwd.c')
-rw-r--r-- | coreutils/pwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/pwd.c b/coreutils/pwd.c index 87553b3de..f0c923b7b 100644 --- a/coreutils/pwd.c +++ b/coreutils/pwd.c | |||
@@ -31,7 +31,7 @@ extern int pwd_main(int argc, char **argv) | |||
31 | char buf[BUFSIZ + 1]; | 31 | char buf[BUFSIZ + 1]; |
32 | 32 | ||
33 | if (getcwd(buf, sizeof(buf)) == NULL) | 33 | if (getcwd(buf, sizeof(buf)) == NULL) |
34 | fatalError("pwd: %s\n", strerror(errno)); | 34 | fatalError("%s\n", strerror(errno)); |
35 | 35 | ||
36 | printf("%s\n", buf); | 36 | printf("%s\n", buf); |
37 | return(TRUE); | 37 | return(TRUE); |