mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
SystemServer: Allow /dev/fb0 to not exist, for text mode support.
This commit is contained in:
parent
b24ce0b5ee
commit
d8aed14dba
Notes:
sideshowbarker
2024-07-18 23:57:22 +09:00
Author: https://github.com/ADKaster
Commit: d8aed14dba
Pull-request: https://github.com/SerenityOS/serenity/pull/4891
Issue: https://github.com/SerenityOS/serenity/issues/4889
1 changed files with 2 additions and 1 deletions
|
@ -110,8 +110,9 @@ static void prepare_devfs()
|
|||
}
|
||||
|
||||
// FIXME: Find a better way to chown without hardcoding the gid!
|
||||
// This will fail with ENOENT in text mode.
|
||||
rc = chown("/dev/fb0", 0, 3);
|
||||
if (rc < 0) {
|
||||
if (rc < 0 && errno != ENOENT) {
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue