mirror of
https://github.com/golang/go
synced 2024-11-11 19:51:37 -07:00
Merge pull request #1 from EscAlice/master-msan
misc/cgo/testsanitizers: use fmt.Printf instead fmt.Println
This commit is contained in:
commit
a665ef84dd
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…
Reference in New Issue
Block a user