Fix some lint issues

PiperOrigin-RevId: 675064804
This commit is contained in:
gVisor bot
2024-09-16 02:33:51 -07:00
parent 6b81c5821b
commit ac5d20cfb9
3 changed files with 3 additions and 3 deletions
@@ -224,7 +224,7 @@ func TestExample(t *testing.T) {
return nil
}
if err := testutil.Poll(check, time.Second); err != nil {
t.Errorf(err.Error())
t.Errorf("%s", err.Error())
}
}
+1 -1
View File
@@ -171,7 +171,7 @@ func (c *testContext) waitForPackets(n int, to <-chan time.Time, errorStr string
select {
case <-c.packetCh:
case <-to:
c.t.Fatalf(errorStr)
c.t.Fatal(errorStr)
}
}
}
+1 -1
View File
@@ -131,7 +131,7 @@ func (u *UnresolvedLinknames) resolveRemaining(pass *analysis.Pass, resolvePos f
}
}
// go:linkname can be rather confusing. https://pkg.go.dev/cmd/compile says:
// "go:linkname" can be rather confusing. https://pkg.go.dev/cmd/compile says:
//
// //go:linkname localname [importpath.name]
//