summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index c979e5f..4ddca8d 100644
--- a/main.c
+++ b/main.c
@@ -61,7 +61,7 @@ int main(int argc, char **argv) {
FILE *in = fopen(in_filename, "r");
if (!in) {
- fprintf(stderr, "Could not open file: %s.\n", argv[1]);
+ fprintf(stderr, "Could not open file: %s.\n", in_filename);
return EXIT_FAILURE;
}