summaryrefslogtreecommitdiffstats
path: root/isys/devnodes.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-07-26 00:25:41 +0000
committerMatt Wilson <msw@redhat.com>2000-07-26 00:25:41 +0000
commit1eb8d112d0c91a900169f9d8f5c4ed8ed30e0ff3 (patch)
tree169833d13ca733169244fcbd446703109bf8b33a /isys/devnodes.c
parent99e05a83a8a67f7db76867972d379bb0c4fc1da9 (diff)
downloadanaconda-1eb8d112d0c91a900169f9d8f5c4ed8ed30e0ff3.tar.gz
anaconda-1eb8d112d0c91a900169f9d8f5c4ed8ed30e0ff3.tar.xz
anaconda-1eb8d112d0c91a900169f9d8f5c4ed8ed30e0ff3.zip
oops, missed the sd? case
Diffstat (limited to 'isys/devnodes.c')
-rw-r--r--isys/devnodes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/isys/devnodes.c b/isys/devnodes.c
index 589421b0d..3ba4f1195 100644
--- a/isys/devnodes.c
+++ b/isys/devnodes.c
@@ -64,7 +64,8 @@ int devMakeInode(char * devName, char * path) {
} else if (devName[3] && islower(devName[3])) {
drive = ((devName[2] - 'a' + 1) * 26) + devName[3] - 'a';
num = devName + 4;
- }
+ } else
+ drive = devName[2] - 'a';
/* only 128 SCSI drives, sorry */
if (drive > 128)
return -1;