aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/testdata')
-rw-r--r--src/runtime/testdata/testprogcgo/sigfwd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/testdata/testprogcgo/sigfwd.go b/src/runtime/testdata/testprogcgo/sigfwd.go
index b66616db36..f6a0c031d7 100644
--- a/src/runtime/testdata/testprogcgo/sigfwd.go
+++ b/src/runtime/testdata/testprogcgo/sigfwd.go
@@ -61,7 +61,7 @@ var nilPtr *byte
func f() (ret bool) {
defer func() {
if recover() == nil {
- fmt.Errorf("ERROR: couldn't raise SIGSEGV in Go.")
+ fmt.Fprintf(os.Stderr, "ERROR: couldn't raise SIGSEGV in Go\n")
C.exit(2)
}
ret = true