Fix some syscalls on arm64

This commit is contained in:
LemonBoy
2019-05-30 16:28:33 +02:00
parent 8ca294c430
commit 477ee9c8b9
5 changed files with 36 additions and 28 deletions

View File

@@ -421,7 +421,7 @@ pub const Loop = struct {
}
pub fn linuxRemoveFd(self: *Loop, fd: i32) void {
os.epoll_ctl(self.os_data.epollfd, os.linux.EPOLL_CTL_DEL, fd, undefined) catch {};
os.epoll_ctl(self.os_data.epollfd, os.linux.EPOLL_CTL_DEL, fd, null) catch {};
self.finishOneEvent();
}