generate .x files for template too

This commit is contained in:
Love Hornquist Astrand
2013-06-05 20:28:56 -07:00
parent 73e5a50a72
commit 7c77f1842a

View File

@@ -148,7 +148,7 @@ init_generate (const char *filename, const char *base)
fn = NULL;
/* template file */
if (asprintf(&template, "%s-template.c", headerbase) < 0 || template == NULL)
if (asprintf(&template, "%s-template.x", headerbase) < 0 || template == NULL)
errx(1, "malloc");
fprintf (headerfile,
"/* Generated from %s */\n"