]> Cypherpunks repositories - gostls13.git/commit
runtime: fix missing error print in TestCgoSigfwd
authorAustin Clements <austin@google.com>
Mon, 17 Oct 2022 15:29:34 +0000 (11:29 -0400)
committerAustin Clements <austin@google.com>
Tue, 1 Nov 2022 17:06:49 +0000 (17:06 +0000)
commit767df51b4dc4d952fd3f3ff14dffdf5fd8cffb4e
tree33568a8aead9b75933d755053a446816f29425a7
parente72da1c15dc273b39dcb5dd87c56d5713dbc1b37
runtime: fix missing error print in TestCgoSigfwd

The result of the call to fmt.Errorf was unused. It was clearly
intending to print the message, not simply construct an error.

Change-Id: I14856214c521a51fe4b45690e6c35fbb17e66577
Reviewed-on: https://go-review.googlesource.com/c/go/+/443375
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/runtime/testdata/testprogcgo/sigfwd.go