aboutsummaryrefslogtreecommitdiff
path: root/src/alf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alf.c')
-rw-r--r--src/alf.c3
1 files changed, 2 insertions, 1 deletions
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);
}