diff --git a/lib/dns/gen.c b/lib/dns/gen.c index 6acffaf1e9..a269c18ed7 100644 --- a/lib/dns/gen.c +++ b/lib/dns/gen.c @@ -146,7 +146,7 @@ doswitch(char *name, char *function, char *args, } if (tt->class && tt->type != lasttype) { fprintf(stdout, "\tcase %d: switch (%s) { \\\n" /*}*/, - tt->type, tsw); + tt->type, csw); subswitch = 1; } if (tt->class == 0)