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:
@@ -82,7 +82,7 @@ struct fb_msync_region
|
||||
};
|
||||
#define FB_MSYNC_RECTANGLE 90 /* msync a rectangular area in mmap'd framebuffer device */
|
||||
|
||||
int ioctl(int, int, ...);
|
||||
int ioctl(int, unsigned long, ...);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user