(xunsymbol1): Fix diagnostics.

This commit is contained in:
Markus Armbruster 2006-06-01 19:06:56 +00:00
parent 401e072824
commit a1546476bf

View file

@ -568,7 +568,7 @@ xunsymbol1(char *id, struct symbol *symtab, struct castr *ca, int n)
if (i < 0)
return gripe("%s %s symbol `%s' in field %d",
i == M_NOTUNIQUE ? "Ambiguous" : "Unknown",
ca->ca_name, id, n);
ca->ca_name, id, n + 1);
return i;
}