diff --git a/src/runtime/netpoll_epoll.go b/src/runtime/netpoll_epoll.go index 48c03d119f..e658cc3d89 100644 --- a/src/runtime/netpoll_epoll.go +++ b/src/runtime/netpoll_epoll.go @@ -27,7 +27,7 @@ func netpollinit() { } efd, errno := linux.Eventfd(0, linux.EFD_CLOEXEC|linux.EFD_NONBLOCK) if errno != 0 { - println("runtime: eventfd failed with", -errno) + println("runtime: eventfd failed with", errno) throw("runtime: eventfd failed") } ev := linux.EpollEvent{