aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uuencode.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 /coreutils/uuencode.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 'coreutils/uuencode.c')
-rw-r--r--coreutils/uuencode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c
index e4fc1a0bc..e107a01e7 100644
--- a/coreutils/uuencode.c
+++ b/coreutils/uuencode.c
@@ -217,7 +217,7 @@ int uuencode_main (int argc,
217 case 2: 217 case 2:
218 /* Optional first argument is input file. */ 218 /* Optional first argument is input file. */
219 if (!freopen (argv[optind], "r", stdin) || fstat (fileno (stdin), &sb)) { 219 if (!freopen (argv[optind], "r", stdin) || fstat (fileno (stdin), &sb)) {
220 errorMsg("uuencode: %s: %s\n", argv[optind], strerror(errno)); 220 errorMsg("%s: %s\n", argv[optind], strerror(errno));
221 exit FALSE; 221 exit FALSE;
222 } 222 }
223 mode = sb.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO); 223 mode = sb.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO);