Skip to content

Commit 2341e6f

Browse files
committed
illumos header translation is wrong 02000000 should be 0x80000
1 parent 7cac8d0 commit 2341e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/solaris/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1208,7 +1208,7 @@ pub const EPOLLET: ::c_int = 0x80000000;
12081208
pub const EPOLLRDHUP: ::c_int = 0x2000;
12091209
pub const EPOLLEXCLUSIVE: ::c_int = 0x10000000;
12101210
pub const EPOLLONESHOT: ::c_int = 0x40000000;
1211-
pub const EPOLL_CLOEXEC: ::c_int = 0x02000000;
1211+
pub const EPOLL_CLOEXEC: ::c_int = 0x80000;
12121212
pub const EPOLL_CTL_ADD: ::c_int = 1;
12131213
pub const EPOLL_CTL_MOD: ::c_int = 3;
12141214
pub const EPOLL_CTL_DEL: ::c_int = 2;

0 commit comments

Comments
 (0)