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

@@ -3,7 +3,7 @@
#include <sys/syscall.h>
#include <unistd.h>
int ioctl(int fildes, int request, ...)
int ioctl(int fildes, unsigned long request, ...)
{
va_list args;
va_start(args, request);