diff --git a/src/cmd/gc/dcl.c b/src/cmd/gc/dcl.c index bf7d92fed6..471319d0d9 100644 --- a/src/cmd/gc/dcl.c +++ b/src/cmd/gc/dcl.c @@ -1299,7 +1299,7 @@ xanondcl(Node *nt, int dddok) t = nt->type; if(nt->op != OTYPE) { - yyerror("%N is not a type", nt); + yyerror("%S is not a type", nt->sym); t = types[TINT32]; } n = nod(ODCLFIELD, N, N);