mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
misc/cgo/testsanitizers: use fmt.Printf instead fmt.Println
Change-Id: Ie46bc3cbfb2622b5eb70618557ff5398866f5607
GitHub-Last-Rev: a665ef84dd
GitHub-Pull-Request: golang/go#57813
Reviewed-on: https://go-review.googlesource.com/c/go/+/462044
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
f33e8f6698
commit
ae400d003f
1 changed files with 1 additions and 1 deletions
2
misc/cgo/testsanitizers/testdata/msan.go
vendored
2
misc/cgo/testsanitizers/testdata/msan.go
vendored
|
|
@ -28,7 +28,7 @@ func main() {
|
|||
C.f((*C.int32_t)(unsafe.Pointer(&a[0])), C.int(len(a)))
|
||||
for i, v := range a {
|
||||
if i != int(v) {
|
||||
fmt.Println("bad %d: %v\n", i, a)
|
||||
fmt.Printf("bad %d: %v\n", i, a)
|
||||
os.Exit(1)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue