Always report the applet name when doing error reporting.
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c
index e4fc1a0..e107a01 100644
--- a/coreutils/uuencode.c
+++ b/coreutils/uuencode.c
@@ -217,7 +217,7 @@
case 2:
/* Optional first argument is input file. */
if (!freopen (argv[optind], "r", stdin) || fstat (fileno (stdin), &sb)) {
- errorMsg("uuencode: %s: %s\n", argv[optind], strerror(errno));
+ errorMsg("%s: %s\n", argv[optind], strerror(errno));
exit FALSE;
}
mode = sb.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO);