aboutsummaryrefslogtreecommitdiff
path: root/pwd.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-12 17:02:35 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-12 17:02:35 +0000
commit6a0c1de213cb8475ee435ff216f4037080926378 (patch)
tree088bc5b6e06d693ad8ca3eba078c0f3a8e302a24 /pwd.c
parent7b40def2e7abcaa81d71d4bc7717d184c329eb2d (diff)
downloadbusybox-w32-6a0c1de213cb8475ee435ff216f4037080926378.tar.gz
busybox-w32-6a0c1de213cb8475ee435ff216f4037080926378.tar.bz2
busybox-w32-6a0c1de213cb8475ee435ff216f4037080926378.zip
Always report the applet name when doing error reporting.
git-svn-id: svn://busybox.net/trunk/busybox@831 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'pwd.c')
-rw-r--r--pwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pwd.c b/pwd.c
index 87553b3de..f0c923b7b 100644
--- a/pwd.c
+++ b/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);