From 0199d360d393c6b9cd58d53dcae9c10d6901d47a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 26 Nov 2025 16:09:13 -0500 Subject: alf: Fix error message when we can't open the output file. --- src/alf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/alf.c b/src/alf.c index bc38dd0..4fca2f3 100644 --- a/src/alf.c +++ b/src/alf.c @@ -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); } -- cgit v1.2.3