Skip to content

Commit

Permalink
Fix for linux/arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
tidwall committed Jan 14, 2019
1 parent ea610ef commit b353be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/internal_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b353be3

Please sign in to comment.