mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:07:34 +00:00
Kernel: Unsupported TTY ioctls should return EINVAL gracefully
Fixes #4971
This commit is contained in:
parent
47a4a5ac1d
commit
2830ce5383
1 changed files with 0 additions and 1 deletions
|
@ -419,7 +419,6 @@ int TTY::ioctl(FileDescription&, unsigned request, FlatPtr arg)
|
|||
current_process.set_tty(nullptr);
|
||||
return 0;
|
||||
}
|
||||
ASSERT_NOT_REACHED();
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue