aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-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
}