summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.c b/main.c
index ee98903..5f69aa7 100644
--- a/main.c
+++ b/main.c
@@ -18,7 +18,6 @@
/*
TODO:
-no foreign parameter declarations
see NOTE in test.toc
variadic fns
#include
@@ -86,7 +85,7 @@ int main(int argc, char **argv) {
}
++contents;
if (ferror(in)) {
- fprintf(stderr, "Error reading input file: %s.\n", argv[1]);
+ fprintf(stderr, "Error reading input file: %s.\n", in_filename);
return EXIT_FAILURE;
}
fclose(in);