mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user