summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-24 18:23:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-24 18:23:19 +0000
commit41c01a125ca041d7af0150b634f1a1cb8fbeb262 (patch)
treecc6a2d0eeb21230addfc9d34467304fe355ab21b
parentd1c9f208a2e9a8c2255afcad27dc78d0be0cdd0f (diff)
downloaddrakx-backup-do-not-use-41c01a125ca041d7af0150b634f1a1cb8fbeb262.tar
drakx-backup-do-not-use-41c01a125ca041d7af0150b634f1a1cb8fbeb262.tar.gz
drakx-backup-do-not-use-41c01a125ca041d7af0150b634f1a1cb8fbeb262.tar.bz2
drakx-backup-do-not-use-41c01a125ca041d7af0150b634f1a1cb8fbeb262.tar.xz
drakx-backup-do-not-use-41c01a125ca041d7af0150b634f1a1cb8fbeb262.zip
replace checking hd[a-h] with hd[a-t] (cf bug #1801)
-rw-r--r--mdk-stage1/probing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c
index cfb9bae69..123d42c4e 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -366,7 +366,7 @@ static void find_media(enum media_bus bus)
log_message("looking for ide media");
strcpy(b, "/proc/ide/hd");
- for (b[12] = 'a'; b[12] <= 'h'; b[12]++) {
+ for (b[12] = 'a'; b[12] <= 't'; b[12]++) {
int i;
char ide_disk[] = "disk";
char ide_cdrom[] = "cdrom";