---
 cc1/decl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/decl.c b/cc1/decl.c
index 1a22c44..f82e996 100644
--- a/cc1/decl.c
+++ b/cc1/decl.c
@@ -216,7 +216,7 @@ krfun(Type *tp, Type *types[], Symbol *syms[], int *ntypes, 
int *nsyms)
                        sym->flags |= ISAUTO;
                        if ((sym = install(NS_IDEN, sym)) == NULL) {
                                errorp("redefinition of parameter '%s'",
-                                      sym->name);
+                                      yylval.sym->name);
                                continue;
                        }
                        if (n < NR_FUNPARAM) {
-- 
2.8.1


Reply via email to