diff options
author | Mike Zeller <mike@mikezeller.net> | 2018-06-30 18:38:44 -0400 |
---|---|---|
committer | Mike Zeller <mike@mikezeller.net> | 2018-06-30 18:38:44 -0400 |
commit | 2341e6f3ad2fa6aa0447a868c7fa2d5acd829810 (patch) | |
tree | f9260426f858d1efb1e82fffa3764ccd6ccfb1a2 | |
parent | 7cac8d0c9db3eff1d8c0d0e21f4a27bedb3c0ad5 (diff) | |
download | rust-libc-2341e6f3ad2fa6aa0447a868c7fa2d5acd829810.tar.gz |
illumos header translation is wrong 02000000 should be 0x80000
-rw-r--r-- | src/unix/solaris/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/solaris/mod.rs b/src/unix/solaris/mod.rs index d76bb80270..db122dea26 100644 --- a/src/unix/solaris/mod.rs +++ b/src/unix/solaris/mod.rs @@ -1208,7 +1208,7 @@ pub const EPOLLET: ::c_int = 0x80000000; pub const EPOLLRDHUP: ::c_int = 0x2000; pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000; pub const EPOLLONESHOT: ::c_int = 0x40000000; -pub const EPOLL_CLOEXEC: ::c_int = 0x02000000; +pub const EPOLL_CLOEXEC: ::c_int = 0x80000; pub const EPOLL_CTL_ADD: ::c_int = 1; pub const EPOLL_CTL_MOD: ::c_int = 3; pub const EPOLL_CTL_DEL: ::c_int = 2; |