aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/netpoll_epoll.go2
1 files changed, 1 insertions, 1 deletions
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{