syz-extract: fix printf conditional in template

commit 3520854be0e7 ("syz-extract: select declaring printf or not")
broke 'make extract' because it introduced invalid syntax in a text
template.  Fix it.
This commit is contained in:
Eric Biggers 2017-11-06 22:37:10 -08:00 committed by Dmitry Vyukov
parent 4340937250
commit 3f85f7fc46

View File

@ -146,7 +146,7 @@ var srcTemplate = template.Must(template.New("").Parse(`
{{.AddSource}}
{{.DeclarePrintf}}
{{if .DeclarePrintf}}
int printf(const char *format, ...);
{{end}}