mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37:35 +00:00
Kernel: Let's also not reverse the blocking flag for FIONBIO..
This commit is contained in:
parent
0f270afda8
commit
497c4c3858
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ KResultOr<int> Process::sys$ioctl(int fd, unsigned request, FlatPtr arg)
|
|||
if (!description)
|
||||
return EBADF;
|
||||
if (request == FIONBIO) {
|
||||
description->set_blocking(arg != 0);
|
||||
description->set_blocking(arg == 0);
|
||||
return KSuccess;
|
||||
}
|
||||
return description->file().ioctl(*description, request, arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue