kernel: Fix poll syscall
This commit is contained in:
parent
e931d11ae1
commit
3d90d7f98e
@ -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