aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/signal_freebsd.go
diff options
context:
space:
mode:
authorJoel Sing <jsing@google.com>2014-11-14 04:29:03 +1100
committerJoel Sing <jsing@google.com>2014-11-14 04:29:03 +1100
commitb2ec4cf50cf6cf492616b5bae93ffd710164dc41 (patch)
treeb0f4bf06240cf24e56b3ec12ea2f0af0c7863784 /src/runtime/signal_freebsd.go
parente088e16256a00447c6d5cded22ceb62bcdcc4698 (diff)
downloadgo-b2ec4cf50cf6cf492616b5bae93ffd710164dc41.tar.gz
go-b2ec4cf50cf6cf492616b5bae93ffd710164dc41.zip
[dev.cc] runtime: make SIGSYS notifiable on freebsd (again)
This was originally done to the C port in rev 17d3b45534b5 and seemingly got lost during the conversion. LGTM=bradfitz R=rsc, bradfitz CC=golang-codereviews https://golang.org/cl/167700043
Diffstat (limited to 'src/runtime/signal_freebsd.go')
-rw-r--r--src/runtime/signal_freebsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/signal_freebsd.go b/src/runtime/signal_freebsd.go
index d37e11a3ec..1dbdb1bd97 100644
--- a/src/runtime/signal_freebsd.go
+++ b/src/runtime/signal_freebsd.go
@@ -22,7 +22,7 @@ var sigtable = [...]sigTabT{
/* 9 */ {0, "SIGKILL: kill"},
/* 10 */ {_SigPanic, "SIGBUS: bus error"},
/* 11 */ {_SigPanic, "SIGSEGV: segmentation violation"},
- /* 12 */ {_SigThrow, "SIGSYS: bad system call"},
+ /* 12 */ {_SigNotify, "SIGSYS: bad system call"},
/* 13 */ {_SigNotify, "SIGPIPE: write to broken pipe"},
/* 14 */ {_SigNotify, "SIGALRM: alarm clock"},
/* 15 */ {_SigNotify + _SigKill, "SIGTERM: termination"},