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