aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uudecode.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/uudecode.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/uudecode.c')
-rw-r--r--coreutils/uudecode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c
index ac33762b0..12a71a573 100644
--- a/coreutils/uudecode.c
+++ b/coreutils/uudecode.c
@@ -286,7 +286,7 @@ static int decode (const char *inname,
286 && (freopen (outname, "w", stdout) == NULL 286 && (freopen (outname, "w", stdout) == NULL
287 || chmod (outname, mode & (S_IRWXU | S_IRWXG | S_IRWXO)) 287 || chmod (outname, mode & (S_IRWXU | S_IRWXG | S_IRWXO))
288 )) { 288 )) {
289 errorMsg("uudeoce %s: %s %s\n", outname, inname, strerror(errno)); /* */ 289 errorMsg("%s: %s %s\n", outname, inname, strerror(errno)); /* */
290 return FALSE; 290 return FALSE;
291 } 291 }
292 292
@@ -340,7 +340,7 @@ int uudecode_main (int argc,
340 if (decode (argv[optind], outname) != 0) 340 if (decode (argv[optind], outname) != 0)
341 exit_status = FALSE; 341 exit_status = FALSE;
342 } else { 342 } else {
343 errorMsg("uudecode: %s: %s\n", argv[optind], strerror(errno)); 343 errorMsg("%s: %s\n", argv[optind], strerror(errno));
344 exit_status = FALSE; 344 exit_status = FALSE;
345 } 345 }
346 optind++; 346 optind++;