summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-08-29 06:07:32 -0700
committerOri Bernstein <ori@eigenstate.org>2015-08-29 06:07:32 -0700
commitaee3a905c030959ffcf3b2cc9e2b1b9ba83e1f7d (patch)
tree71c816cca9a412a82f46391cc5a07b81f1629172 /lib
parent37382a5df854971f64bf07f9c6a7c94f2e7d058e (diff)
downloadmc-aee3a905c030959ffcf3b2cc9e2b1b9ba83e1f7d.tar.gz
Fix epoll constants.
Diffstat (limited to 'lib')
-rw-r--r--lib/std/sys+linux-x64.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/sys+linux-x64.myr b/lib/std/sys+linux-x64.myr
index 1f31532..9e1da55 100644
--- a/lib/std/sys+linux-x64.myr
+++ b/lib/std/sys+linux-x64.myr
@@ -225,9 +225,9 @@ pkg sys =
const Epollcloexec : epollflags = 0o2000000
/* epoll ops */
- const Epollctladd : epollop = 0
- const Epollctlmod : epollop = 1
- const Epollctldel : epollop = 1
+ const Epollctladd : epollop = 1
+ const Epollctlmod : epollop = 2
+ const Epollctldel : epollop = 3
/* epoll events */
const Epollin : epollevttype = 0x001