kernel: Fix poll syscall
This commit is contained in:
parent
0629719975
commit
133541b7e4
@ -50,9 +50,6 @@ Result<u64> sys_poll(Registers*, SyscallArgs args)
|
||||
|
||||
if (kfds[i].events & POLLIN)
|
||||
{
|
||||
fds_with_events++;
|
||||
kfds[i].revents |= POLLIN;
|
||||
|
||||
if (inode->type() == VFS::InodeType::Socket)
|
||||
{
|
||||
auto socket = (Socket*)inode.ptr();
|
||||
|
Loading…
Reference in New Issue
Block a user