Always report the applet name when doing error reporting.
diff --git a/uudecode.c b/uudecode.c
index ac33762..12a71a5 100644
--- a/uudecode.c
+++ b/uudecode.c
@@ -286,7 +286,7 @@
&& (freopen (outname, "w", stdout) == NULL
|| chmod (outname, mode & (S_IRWXU | S_IRWXG | S_IRWXO))
)) {
- errorMsg("uudeoce %s: %s %s\n", outname, inname, strerror(errno)); /* */
+ errorMsg("%s: %s %s\n", outname, inname, strerror(errno)); /* */
return FALSE;
}
@@ -340,7 +340,7 @@
if (decode (argv[optind], outname) != 0)
exit_status = FALSE;
} else {
- errorMsg("uudecode: %s: %s\n", argv[optind], strerror(errno));
+ errorMsg("%s: %s\n", argv[optind], strerror(errno));
exit_status = FALSE;
}
optind++;