diff options
| author | Alan Donovan <adonovan@google.com> | 2024-09-04 13:14:17 -0400 |
|---|---|---|
| committer | Alan Donovan <adonovan@google.com> | 2024-09-04 18:16:59 +0000 |
| commit | cd9a300afc0be43f7ad1891a18ed9b690f7f97ab (patch) | |
| tree | c75ebe4996e022d37078729224083101193d2e69 /src/cmd/compile/internal/test/testdata | |
| parent | 21ac23a96f204dfb558a8d3071380c1d105a93ba (diff) | |
| download | go-cd9a300afc0be43f7ad1891a18ed9b690f7f97ab.tar.xz | |
all: fix printf(var) mistakes detected by latest printf checker
These will cause build failures once we vendor x/tools.
In once case I renamed a function err to errf to indicate
that it is printf-like.
Updates golang/go#68796
Change-Id: I04d57b34ee5362f530554b7e8b817f70a9088d12
Reviewed-on: https://go-review.googlesource.com/c/go/+/610739
Commit-Queue: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Tim King <taking@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/cmd/compile/internal/test/testdata')
| -rw-r--r-- | src/cmd/compile/internal/test/testdata/addressed_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/test/testdata/addressed_test.go b/src/cmd/compile/internal/test/testdata/addressed_test.go index 4cc9ac4d5b..3d315c3a55 100644 --- a/src/cmd/compile/internal/test/testdata/addressed_test.go +++ b/src/cmd/compile/internal/test/testdata/addressed_test.go @@ -12,7 +12,7 @@ import ( var output string func mypanic(t *testing.T, s string) { - t.Fatalf(s + "\n" + output) + t.Fatal(s + "\n" + output) } |
