diff options
Diffstat (limited to 'fs/partitions/check.c')
-rw-r--r-- | fs/partitions/check.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/partitions/check.c b/fs/partitions/check.c index 7f9ed2ba7..3b252ec63 100644 --- a/fs/partitions/check.c +++ b/fs/partitions/check.c @@ -135,6 +135,9 @@ char *disk_name (struct gendisk *hd, int minor, char *buf) case IDE0_MAJOR: maj = "hd"; break; + case MD_MAJOR: + unit -= 'a'-'0'; + break; } if (hd->major >= SCSI_DISK1_MAJOR && hd->major <= SCSI_DISK7_MAJOR) { unit = unit + (hd->major - SCSI_DISK1_MAJOR + 1) * 16; |