mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14:37 +00:00
driver: Fix wrong file type in RegisterBlockDevice()
S_IFCHR -> S_IFBLK
This commit is contained in:
parent
6771bb21b2
commit
9a6008a07c
@ -439,7 +439,7 @@ namespace Driver
|
||||
mode_t mode = S_IRWXU |
|
||||
S_IRGRP |
|
||||
S_IROTH |
|
||||
S_IFCHR;
|
||||
S_IFBLK;
|
||||
|
||||
node = fs->ForceCreate(devInputNode, deviceName.c_str(), mode);
|
||||
node->Node->SetDevice(DriverID, i);
|
||||
|
Loading…
x
Reference in New Issue
Block a user