From: Kevin O'Connor Date: Wed, 18 Feb 2009 03:57:37 +0000 (-0500) Subject: Fix typo causing atapi drive type misreport. X-Git-Tag: rel-0.4.1~134 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6a46a4250e2b6169c6d41e2ee07b22e9e77d320f;p=seabios.git Fix typo causing atapi drive type misreport. All atapi drives were reported as "Device" instead of "CD-Rom/DVD-Rom". --- diff --git a/src/ata.c b/src/ata.c index 5eefd32..adf3929 100644 --- a/src/ata.c +++ b/src/ata.c @@ -679,7 +679,7 @@ init_drive_atapi(int driveid) u8 slave = driveid % 2; printf("ata%d-%d: %s ATAPI-%d %s\n", channel, slave , ATA.devices[driveid].model, ATA.devices[driveid].version - , (ATA.devices[driveid].type == ATA_DEVICE_CDROM + , (ATA.devices[driveid].device == ATA_DEVICE_CDROM ? "CD-Rom/DVD-Rom" : "Device")); return 0;