diff options
Diffstat (limited to 'src/runtime/netpoll_kqueue.go')
| -rw-r--r-- | src/runtime/netpoll_kqueue.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/netpoll_kqueue.go b/src/runtime/netpoll_kqueue.go index d6d55b97b8..080964bb72 100644 --- a/src/runtime/netpoll_kqueue.go +++ b/src/runtime/netpoll_kqueue.go @@ -25,7 +25,7 @@ func netpollinit() { kq = kqueue() if kq < 0 { println("netpollinit: kqueue failed with", -kq) - gothrow("netpollinit: kqueue failed") + throw("netpollinit: kqueue failed") } closeonexec(kq) } @@ -57,7 +57,7 @@ func netpollclose(fd uintptr) int32 { } func netpollarm(pd *pollDesc, mode int) { - gothrow("unused") + throw("unused") } // Polls for ready network connections. |
