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/uuencode.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/uuencode.c')
-rw-r--r-- | coreutils/uuencode.c | 2 |
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); |