From b353be3a765785dafabbb63a7b25aadec3533946 Mon Sep 17 00:00:00 2001 From: tidwall Date: Mon, 14 Jan 2019 12:23:58 -0700 Subject: [PATCH] Fix for linux/arm64 --- internal/internal_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/internal_linux.go b/internal/internal_linux.go index 2b43888..6bbaffa 100644 --- a/internal/internal_linux.go +++ b/internal/internal_linux.go @@ -23,7 +23,7 @@ func OpenPoll() *Poll { panic(err) } l.fd = p - r0, _, e0 := syscall.Syscall(syscall.SYS_EVENTFD, 0, 0, 0) + r0, _, e0 := syscall.Syscall(syscall.SYS_EVENTFD2, 0, 0, 0) if e0 != 0 { syscall.Close(p) panic(err)