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/uudecode.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/uudecode.c')
| -rw-r--r-- | coreutils/uudecode.c | 4 |
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++; |
