mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 10:27:35 +00:00
Kernel: Return EINVAL on unsupported LocalSocket ioctl
ENOTTY is used to signify that no ioctl interface is provided at all, but LocalSockets do support the FIONREAD ioctl.
This commit is contained in:
parent
8595fd585d
commit
0a36d1459a
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ ErrorOr<void> LocalSocket::ioctl(OpenFileDescription& description, unsigned requ
|
|||
}
|
||||
}
|
||||
|
||||
return ENOTTY;
|
||||
return EINVAL;
|
||||
}
|
||||
|
||||
ErrorOr<void> LocalSocket::chmod(OpenFileDescription&, mode_t mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue