system/EPollFD: fix typo in Add()
This commit is contained in:
parent
d23c907a94
commit
81175b0717
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue