Always report the applet name when doing error reporting.

This commit is contained in:
Matt Kraai committed 2000-07-12 17:02:35 +00:00
1 parent e58771e73c
commit be84cd4ef6
42 files changed
+141 -144

No files matched your search

+1 -1
View File
@@ -217,7 +217,7 @@ int uuencode_main (int argc,
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);