diff options
| author | B. Watson <urchlay@slackware.uk> | 2025-11-26 16:09:13 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2025-11-26 16:09:13 -0500 |
| commit | 0199d360d393c6b9cd58d53dcae9c10d6901d47a (patch) | |
| tree | 6054514bc9e4ffc0e37193832ca0a546d68bf5ef | |
| parent | 149441e5905ddacd5f771deb56a10f3b7c05f1fe (diff) | |
| download | unalf-0199d360d393c6b9cd58d53dcae9c10d6901d47a.tar.gz | |
alf: Fix error message when we can't open the output file.
| -rw-r--r-- | src/alf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -343,7 +343,8 @@ int main(int argc, char **argv) { out_file = fopen(out_filename, opt_append ? "ab" : "wb"); if(!out_file) { - perror(*argv); + fprintf(stderr, "%s: fatal: ", self); + perror(out_filename); exit(1); } |
