Skip to content

Commit afabed9

Browse files
author
Stjepan Glavina
committed
Fix compilation error in epoll bindings
1 parent 0dec207 commit afabed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sys/epoll.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl Reactor {
6060
// Set up eventfd.
6161
let event_fd = syscall!(eventfd(0, libc::EFD_CLOEXEC | libc::EFD_NONBLOCK))?;
6262
let reactor = Reactor { epoll_fd, event_fd };
63-
reactor.insert(event_fd, NOTIFY_KEY)?;
63+
reactor.insert(event_fd)?;
6464
reactor.interest(event_fd, NOTIFY_KEY, true, false)?;
6565

6666
Ok(reactor)

0 commit comments

Comments
 (0)