mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +00:00
Fix mixup between /dev/null and /dev/zero device registration.
This commit is contained in:
parent
df87dda63c
commit
6312c3f253
Notes:
sideshowbarker
2024-07-19 18:38:32 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/6312c3f2533
1 changed files with 2 additions and 2 deletions
|
@ -89,10 +89,10 @@ static void init_stage2()
|
|||
auto vfs = make<VirtualFileSystem>();
|
||||
|
||||
auto dev_zero = make<ZeroDevice>();
|
||||
vfs->registerCharacterDevice(1, 3, *dev_zero);
|
||||
vfs->registerCharacterDevice(1, 5, *dev_zero);
|
||||
|
||||
auto dev_null = make<NullDevice>();
|
||||
vfs->registerCharacterDevice(1, 5, *dev_zero);
|
||||
vfs->registerCharacterDevice(1, 3, *dev_null);
|
||||
|
||||
auto dev_full = make<FullDevice>();
|
||||
vfs->registerCharacterDevice(1, 7, *dev_full);
|
||||
|
|
Loading…
Add table
Reference in a new issue