diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/system/EPollFD.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/EPollFD.hxx b/src/system/EPollFD.hxx index 1ebacfeae..41f7ec377 100644 --- a/src/system/EPollFD.hxx +++ b/src/system/EPollFD.hxx @@ -61,7 +61,7 @@ public: e.events = events; 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) { |