Kernel: Make ioctl take unsigned long instead of int

this is what linux does :D

also fix one or two `return ioctl` instead of `return ioctl_impl`
This commit is contained in:
2026-07-07 03:11:16 +03:00
parent ea4e016b1e
commit eee0b7c3ff
24 changed files with 33 additions and 33 deletions

View File

@@ -316,7 +316,7 @@ namespace Kernel
return {};
}
BAN::ErrorOr<long> Inode::ioctl(int request, void* arg)
BAN::ErrorOr<long> Inode::ioctl(unsigned long request, void* arg)
{
auto ret = ioctl_impl(request, arg);
if (!ret.is_error() || ret.error().get_error_code() != ENOTSUP)