summaryrefslogtreecommitdiff
path: root/gcc/genattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genattr.c')
-rw-r--r--gcc/genattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genattr.c b/gcc/genattr.c
index be86ca68b14..4f9c712b609 100644
--- a/gcc/genattr.c
+++ b/gcc/genattr.c
@@ -210,7 +210,7 @@ main (argc, argv)
if (argc <= 1)
fatal ("No input file name.");
- if (init_md_reader (argv[1]) != SUCCESS_EXIT_CODE)
+ if (init_md_reader_args (argc, argv) != SUCCESS_EXIT_CODE)
return (FATAL_EXIT_CODE);
puts ("/* Generated automatically by the program `genattr'");