driver: Fix wrong file type in RegisterBlockDevice()

S_IFCHR -> S_IFBLK
This commit is contained in:
EnderIce2 2024-10-13 02:28:50 +03:00
parent 6771bb21b2
commit 9a6008a07c
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

@ -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);