mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Kernel: Let's also not reverse the blocking flag for FIONBIO..
This commit is contained in:
parent
0f270afda8
commit
497c4c3858
Notes:
sideshowbarker
2024-07-18 20:59:19 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/497c4c3858f
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…
Reference in a new issue