aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/syz-check/check.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-check/check.go b/tools/syz-check/check.go
index 8cfc20294..76a52c50d 100644
--- a/tools/syz-check/check.go
+++ b/tools/syz-check/check.go
@@ -351,7 +351,7 @@ func parseDescriptions(OS, arch string) ([]*prog.KeyedStruct, map[string]*ast.St
if prg == nil {
return nil, nil, nil, fmt.Errorf("failed to compile descriptions:\n%s", errorBuf.Bytes())
}
- prog.RestoreLinks(prg.Syscalls, prg.Resources, prg.StructDescs)
+ prog.RestoreLinks(prg.Syscalls, prg.Resources, prg.StructDescs, prg.Types)
locs := make(map[string]*ast.Struct)
for _, decl := range top.Nodes {
switch n := decl.(type) {