diff options
author | Conrad Pankoff <deoxxa@fknsrs.biz> | 2019-08-12 20:53:26 +1000 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-08-12 12:56:55 +0200 |
commit | 53ddbce0b3dd818468d03325be467d4761a0ea23 (patch) | |
tree | c5557a48546ea77941476c485905d5ffd6b5e7b7 /Servers | |
parent | e60577aab61bcf1a159094e8e9148d4ea1b503de (diff) | |
download | serenity-53ddbce0b3dd818468d03325be467d4761a0ea23.zip |
Kernel: Use established device name and number for framebuffer
This is to prepare for other framebuffer implementations, for which it
would be inappropriate to use the /dev/bxvga device name.
Diffstat (limited to 'Servers')
-rw-r--r-- | Servers/WindowServer/WSScreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Servers/WindowServer/WSScreen.cpp b/Servers/WindowServer/WSScreen.cpp index 3d15b9f072..e7456b4e41 100644 --- a/Servers/WindowServer/WSScreen.cpp +++ b/Servers/WindowServer/WSScreen.cpp @@ -23,7 +23,7 @@ WSScreen::WSScreen(unsigned width, unsigned height) ASSERT(!s_the); s_the = this; m_cursor_location = rect().center(); - m_framebuffer_fd = open("/dev/bxvga", O_RDWR); + m_framebuffer_fd = open("/dev/fb0", O_RDWR); ASSERT(m_framebuffer_fd >= 0); set_resolution(width, height); |