summaryrefslogtreecommitdiffstats
path: root/loader2/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader2/init.c')
-rw-r--r--loader2/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader2/init.c b/loader2/init.c
index 35cd9116e..6e4f873ec 100644
--- a/loader2/init.c
+++ b/loader2/init.c
@@ -406,7 +406,7 @@ static void createDevices(void) {
type = S_IFCHR;
break;
case BLOCKDEV:
- type = S_IFDIR;
+ type = S_IFBLK;
break;
}
if (type == -1) continue;