1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00

Kernel: Use a FlatPtr for the "argument" to ioctl()

Since it's often used to pass pointers, it should really be a FlatPtr.
This commit is contained in:
Andreas Kling 2020-05-23 13:17:58 +02:00
parent b8af5cd8da
commit b3736c1b1e
Notes: sideshowbarker 2024-07-19 06:13:21 +09:00
14 changed files with 14 additions and 14 deletions

View file

@ -2636,7 +2636,7 @@ int Process::sys$setpgid(pid_t specified_pid, pid_t specified_pgid)
return 0;
}
int Process::sys$ioctl(int fd, unsigned request, unsigned arg)
int Process::sys$ioctl(int fd, unsigned request, FlatPtr arg)
{
auto description = file_description(fd);
if (!description)