mirror of
https://github.com/reactos/syzkaller.git
synced 2025-02-12 14:58:22 +00:00
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:
parent
4340937250
commit
3f85f7fc46
@ -146,7 +146,7 @@ var srcTemplate = template.Must(template.New("").Parse(`
|
||||
|
||||
{{.AddSource}}
|
||||
|
||||
{{.DeclarePrintf}}
|
||||
{{if .DeclarePrintf}}
|
||||
int printf(const char *format, ...);
|
||||
{{end}}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user