[DWARVES]: Fix ftype__fprintf_parms goto label

If we don't find the type it should spill an <ERROR>, not print 'void'.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2008-04-21 13:09:26 -03:00
parent de393c4670
commit 0dc85894dd
1 changed files with 1 additions and 1 deletions

View File

@ -1745,8 +1745,8 @@ static size_t ftype__fprintf_parms(const struct ftype *self,
0, 0, 0, fp);
continue;
}
print_it:
stype = tag__name(type, cu, sbf, sizeof(sbf));
print_it:
printed += fprintf(fp, "%s%s%s", stype, name ? " " : "",
name ?: "");
}