summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 692f86fca..d2311b418 100644
--- a/mdk-stage1/probing.c
+++ b/mdk-stage1/probing.c
@@ -489,7 +489,7 @@ static void find_media(void)
sprintf(tmp_name, "st%c", scsi_tape_count++);
tmp[count].type = TAPE;
} else if (strstr(start, "CD-ROM")) {
- sprintf(tmp_name, "scd%c", scsi_cdrom_count++);
+ sprintf(tmp_name, "sr%c", scsi_cdrom_count++);
tmp[count].type = CDROM;
}