VirtualBox

Ignore:
Timestamp:
Sep 20, 2011 3:36:13 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
74103
Message:

BIOS: Properly pad disk type strings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS-new/disk.c

    r38706 r38808  
    574574                dpt->host_bus[1] = 'S';
    575575                dpt->host_bus[2] = 'A';
    576                 dpt->host_bus[3] = 0;
     576                dpt->host_bus[3] = ' ';
    577577            }
    578578            else {
     
    582582            dpt->iface_type[1] = 'T';
    583583            dpt->iface_type[2] = 'A';
    584             dpt->iface_type[3] = 0;
     584            dpt->iface_type[3] = ' ';
     585            dpt->iface_type[4] = ' ';
     586            dpt->iface_type[5] = ' ';
     587            dpt->iface_type[6] = ' ';
     588            dpt->iface_type[7] = ' ';
    585589           
    586590            if (iface == ATA_IFACE_ISA) {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette