summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-04-30 14:49:51 +0300
committerAndreas Kling <kling@serenityos.org>2022-05-05 20:55:57 +0200
commitd2e93ec50a38cb740a5d3bada2d48fa2e01ae8b0 (patch)
tree77e27e43e7f796e4588abffd997c06e8fc662b7b /Tests
parentf15b93c9a1b32a362d40448c52dfd3e838aced68 (diff)
downloadserenity-d2e93ec50a38cb740a5d3bada2d48fa2e01ae8b0.zip
Everywhere: Rename FB prefix name ioctls => GRAPHICS
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Kernel/bxvga-mmap-kernel-into-userspace.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/Kernel/bxvga-mmap-kernel-into-userspace.cpp b/Tests/Kernel/bxvga-mmap-kernel-into-userspace.cpp
index 3dc0f566d2..545124542a 100644
--- a/Tests/Kernel/bxvga-mmap-kernel-into-userspace.cpp
+++ b/Tests/Kernel/bxvga-mmap-kernel-into-userspace.cpp
@@ -27,7 +27,7 @@ int main()
FBHeadProperties original_properties;
original_properties.head_index = 0;
- if (ioctl(fd, FB_IOCTL_GET_HEAD_PROPERTIES, &original_properties) < 0) {
+ if (ioctl(fd, GRAPHICS_IOCTL_GET_HEAD_PROPERTIES, &original_properties) < 0) {
perror("ioctl");
return 1;
}
@@ -38,7 +38,7 @@ int main()
resolution.height = height;
resolution.pitch = pitch;
- if (ioctl(fd, FB_IOCTL_SET_HEAD_RESOLUTION, &resolution) < 0) {
+ if (ioctl(fd, GRAPHICS_IOCTL_SET_HEAD_RESOLUTION, &resolution) < 0) {
perror("ioctl");
return 1;
}
@@ -94,7 +94,7 @@ int main()
original_resolution.width = original_properties.width;
original_resolution.height = original_properties.height;
original_resolution.pitch = original_properties.pitch;
- if (ioctl(fd, FB_IOCTL_SET_HEAD_RESOLUTION, &original_resolution) < 0) {
+ if (ioctl(fd, GRAPHICS_IOCTL_SET_HEAD_RESOLUTION, &original_resolution) < 0) {
perror("ioctl");
return 1;
}