system/EPollFD: fix typo in Add()

This commit is contained in:
Max Kellermann 2013-08-10 11:52:26 +02:00
parent d23c907a94
commit 81175b0717
1 changed files with 1 additions and 1 deletions

View File

@ -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) {