Skip to content

Commit

Permalink
Fix some lint issues
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 675064804
  • Loading branch information
gvisor-bot committed Sep 16, 2024
1 parent 6b81c58 commit ac5d20c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/sentry/seccheck/sinks/remote/remote_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/tcpip/link/sharedmem/sharedmem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tools/checklinkname/check_linkname.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
//
Expand Down

0 comments on commit ac5d20c

Please # to comment.