Handle ide model name string (Igor Kovalenko)

This handles fixed-size ide model name string without trailing zero.


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@509 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2009-07-12 08:15:38 +00:00
parent 5f5b8d6f8c
commit 9fc5e54819
2 changed files with 3 additions and 2 deletions

View File

@@ -146,7 +146,7 @@ struct ide_drive {
char media; /* disk, cdrom, etc */
char addressing; /* chs/lba28/lba48 */
char model[40]; /* name */
char model[41]; /* name */
int nr;
unsigned long sectors;