Commit 81175b07 authored by Max Kellermann's avatar Max Kellermann

system/EPollFD: fix typo in Add()

parent d23c907a
...@@ -61,7 +61,7 @@ public: ...@@ -61,7 +61,7 @@ public:
e.events = events; e.events = events;
e.data.ptr = ptr; e.data.ptr = ptr;
return Control(EPOLL_CTL_DEL, _fd, &e); return Control(EPOLL_CTL_ADD, _fd, &e);
} }
bool Modify(int _fd, uint32_t events, void *ptr) { bool Modify(int _fd, uint32_t events, void *ptr) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment