aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-linter
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-01-04 13:54:43 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-01-19 11:26:54 +0100
commit8b4e854864883d790497e7c4cc302f819b6e2bce (patch)
treef26be5380f5c46479351652dffc167d6b965e90a /tools/syz-linter
parente9883646d93ed92b96068f3fad8e8c5dc29bd5bd (diff)
syz-ci: do logging per job processor
Now that we might have two, it might be helpful to split the logs.
Diffstat (limited to 'tools/syz-linter')
-rw-r--r--tools/syz-linter/linter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-linter/linter.go b/tools/syz-linter/linter.go
index b52e907ba..c92e7bb88 100644
--- a/tools/syz-linter/linter.go
+++ b/tools/syz-linter/linter.go
@@ -296,7 +296,7 @@ func (pass *Pass) logFormatArg(n *ast.CallExpr) (arg int, newLine, sure bool) {
return -1, false, false
}
switch fmt.Sprintf("%v.%v", fun.X, fun.Sel) {
- case "log.Print", "log.Printf", "log.Fatal", "log.Fatalf", "fmt.Error", "fmt.Errorf":
+ case "log.Print", "log.Printf", "log.Fatal", "log.Fatalf", "fmt.Error", "fmt.Errorf", "jp.Logf":
return 0, false, true
case "log.Logf":
return 1, false, true