mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 22:15:06 +00:00
Fix mixup between /dev/null and /dev/zero device registration.
This commit is contained in:
parent
df87dda63c
commit
6312c3f253
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
Add a link
Reference in a new issue