summaryrefslogtreecommitdiff
path: root/libgo/go/runtime/signal1_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/runtime/signal1_unix.go')
-rw-r--r--libgo/go/runtime/signal1_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/runtime/signal1_unix.go b/libgo/go/runtime/signal1_unix.go
index 48c549104c4a..181aebe64b31 100644
--- a/libgo/go/runtime/signal1_unix.go
+++ b/libgo/go/runtime/signal1_unix.go
@@ -327,7 +327,7 @@ func ensureSigM() {
//go:norace
//go:nowritebarrierrec
func badsignal(sig uintptr, c *sigctxt) {
- needm()
+ needm(0)
if !sigsend(uint32(sig)) {
// A foreign thread received the signal sig, and the
// Go code does not want to handle it.