diff options
author | Liav A <liavalb@gmail.com> | 2022-04-30 14:49:51 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-05-05 20:55:57 +0200 |
commit | d2e93ec50a38cb740a5d3bada2d48fa2e01ae8b0 (patch) | |
tree | 77e27e43e7f796e4588abffd997c06e8fc662b7b /Userland/DevTools | |
parent | f15b93c9a1b32a362d40448c52dfd3e838aced68 (diff) | |
download | serenity-d2e93ec50a38cb740a5d3bada2d48fa2e01ae8b0.zip |
Everywhere: Rename FB prefix name ioctls => GRAPHICS
Diffstat (limited to 'Userland/DevTools')
-rw-r--r-- | Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp index 7b1cac737a..a663453c0c 100644 --- a/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp +++ b/Userland/DevTools/UserspaceEmulator/Emulator_syscalls.cpp @@ -1159,20 +1159,20 @@ int Emulator::virt$ioctl([[maybe_unused]] int fd, unsigned request, [[maybe_unus return syscall(SC_ioctl, fd, request, 0); case TIOCSTI: return -EIO; - case FB_IOCTL_GET_PROPERTIES: { + case GRAPHICS_IOCTL_GET_PROPERTIES: { size_t size = 0; auto rc = syscall(SC_ioctl, fd, request, &size); mmu().copy_to_vm(arg, &size, sizeof(size)); return rc; } - case FB_IOCTL_SET_HEAD_RESOLUTION: { + case GRAPHICS_IOCTL_SET_HEAD_RESOLUTION: { FBHeadResolution user_resolution; mmu().copy_from_vm(&user_resolution, arg, sizeof(user_resolution)); auto rc = syscall(SC_ioctl, fd, request, &user_resolution); mmu().copy_to_vm(arg, &user_resolution, sizeof(user_resolution)); return rc; } - case FB_IOCTL_SET_HEAD_VERTICAL_OFFSET_BUFFER: + case GRAPHICS_IOCTL_SET_HEAD_VERTICAL_OFFSET_BUFFER: return syscall(SC_ioctl, fd, request, arg); case FIONBIO: { int enabled; |