aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-check
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-17 17:37:49 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-18 21:02:24 +0100
commitd2f8d5ab46fe67b2f03387be9e6f38ffe5f227ba (patch)
treef5bfbe679147e06398db2601ec3b4ecb93d6c207 /tools/syz-check
parent773117bf811a6e7f9d13bb966dc4956774e88207 (diff)
sys/linux: fix sigset_t/sigaction layout on arm
Update #590
Diffstat (limited to 'tools/syz-check')
-rw-r--r--tools/syz-check/check.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/syz-check/check.go b/tools/syz-check/check.go
index f3ac27f2d..f5f0e7454 100644
--- a/tools/syz-check/check.go
+++ b/tools/syz-check/check.go
@@ -141,6 +141,9 @@ func writeWarnings(OS string, narches int, warnings []Warn) error {
if w1.pos.Line != w2.pos.Line {
return w1.pos.Line < w2.pos.Line
}
+ if w1.typ != w2.typ {
+ return w1.typ < w2.typ
+ }
if w1.msg != w2.msg {
return w1.msg < w2.msg
}