Always report the applet name when doing error reporting.
This commit is contained in:
parent
e58771e73c
commit
be84cd4ef6
42 changed files with 141 additions and 144 deletions
|
@ -286,7 +286,7 @@ static int decode (const char *inname,
|
|||
&& (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 @@ int uudecode_main (int argc,
|
|||
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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue