aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-01-12 15:00:33 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2022-01-13 17:03:25 +0100
commit2257505bcf725a8d7e70611196bb09dad4538827 (patch)
tree1f56edef63745a18bae5449676e03328afcf8c7e /tools
parent4b0229115958fea4fb48302ee17980f6a0bb859d (diff)
sys/linux: change netlink policies to the new $ convention
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 6f59a1fa6..91f5ead47 100644
--- a/tools/syz-check/check.go
+++ b/tools/syz-check/check.go
@@ -413,7 +413,7 @@ func checkNetlinkStruct(locs map[string]*ast.Struct, symbols map[string][]symbol
return nil, nil
}
// In some cases we split a single policy into multiple ones (more precise description),
- // so try to match our foo$bar with with kernel foo as well.
+ // so try to match our foo$bar with kernel foo as well.
kernelName, ss := name, symbols[name]
if delim := strings.LastIndexByte(name, '$'); len(ss) == 0 && delim != -1 {
kernelName = name[:delim]