summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-11-20 17:03:23 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-21 20:22:48 +0100
commitdaef7e2c71058745c0ccd43753a700ef37f24e29 (patch)
treef04b00854b71a1bb4f269f808d069d8fdc1f725b /Kernel/API
parent8e4eebe9b1cb5b1fcc46cd55065a3980a826a78b (diff)
downloadserenity-daef7e2c71058745c0ccd43753a700ef37f24e29.zip
Kernel+LibC: Fix misspelled "VERTICAL" in framebuffer ioctls
Diffstat (limited to 'Kernel/API')
-rw-r--r--Kernel/API/FB.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/API/FB.h b/Kernel/API/FB.h
index a4a13fa4a8..eaab017ff0 100644
--- a/Kernel/API/FB.h
+++ b/Kernel/API/FB.h
@@ -43,12 +43,12 @@ ALWAYS_INLINE int fb_set_resolution(int fd, FBHeadResolution* info)
ALWAYS_INLINE int fb_get_head_vertical_offset_buffer(int fd, FBHeadVerticalOffset* vertical_offset)
{
- return ioctl(fd, FB_IOCTL_GET_HEAD_VERITCAL_OFFSET_BUFFER, vertical_offset);
+ return ioctl(fd, FB_IOCTL_GET_HEAD_VERTICAL_OFFSET_BUFFER, vertical_offset);
}
ALWAYS_INLINE int fb_set_head_vertical_offset_buffer(int fd, FBHeadVerticalOffset* vertical_offset)
{
- return ioctl(fd, FB_IOCTL_SET_HEAD_VERITCAL_OFFSET_BUFFER, vertical_offset);
+ return ioctl(fd, FB_IOCTL_SET_HEAD_VERTICAL_OFFSET_BUFFER, vertical_offset);
}
ALWAYS_INLINE int fb_flush_buffers(int fd, int index, FBRect const* rects, unsigned count)