summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2005-04-08 18:04:07 +0000
committerChris Lumens <clumens@redhat.com>2005-04-08 18:04:07 +0000
commit030ac41a1943ec6c258735a8ed38096023c9db3c (patch)
tree9bb3d239ff1ae67e44fb21e80f5897672e3326a1 /loader2
parentf7853c006bbea28027a55035d3a7e342db982d41 (diff)
downloadanaconda-030ac41a1943ec6c258735a8ed38096023c9db3c.tar.gz
anaconda-030ac41a1943ec6c258735a8ed38096023c9db3c.tar.xz
anaconda-030ac41a1943ec6c258735a8ed38096023c9db3c.zip
Use the right flag when creating block device nodes.
Diffstat (limited to 'loader2')
-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;