VirtualBox

Changeset 52812 in vbox


Ignore:
Timestamp:
Sep 22, 2014 10:05:12 AM (10 years ago)
Author:
vboxsync
Message:

BIOS: Fixed format specifiers.

Location:
trunk/src/VBox/Devices/PC/BIOS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS/ahci.c

    r51232 r52812  
    729729                    set_geom_lba(&lgeo, sectors);   /* Default EDD-style translated LBA geometry. */
    730730
    731                 BX_INFO("AHCI %d-P#%d: PCHS=%u/%d/%d LCHS=%u/%u/%u %ld sectors\n", devcount_ahci,
     731                BX_INFO("AHCI %d-P#%d: PCHS=%u/%u/%u LCHS=%u/%u/%u %lu sectors\n", devcount_ahci,
    732732                        u8Port, cylinders, heads, spt, lgeo.cylinders, lgeo.heads, lgeo.spt, sectors);
    733733
  • trunk/src/VBox/Devices/PC/BIOS/ata.c

    r48123 r52812  
    513513                set_geom_lba(&lgeo, sectors);   /* Default EDD-style translated LBA geometry. */
    514514
    515             BX_INFO("ata%d-%d: PCHS=%u/%d/%d LCHS=%u/%u/%u\n", channel, slave,
    516                     cylinders,heads, spt, lgeo.cylinders, lgeo.heads, lgeo.spt);
     515            BX_INFO("ata%d-%d: PCHS=%u/%u/%u LCHS=%u/%u/%u\n", channel, slave,
     516                    cylinders, heads, spt, lgeo.cylinders, lgeo.heads, lgeo.spt);
    517517
    518518            bios_dsk->devices[device].device         = DSK_DEVICE_HD;
  • trunk/src/VBox/Devices/PC/BIOS/scsi.c

    r50176 r52812  
    512512                    bios_dsk->devices[hd_index].lchs.cylinders = (uint16_t)cylinders;
    513513
    514                 BX_INFO("SCSI %d-ID#%d: LCHS=%u/%u/%u %ld sectors\n", devcount_scsi,
     514                BX_INFO("SCSI %d-ID#%d: LCHS=%u/%u/%u %lu sectors\n", devcount_scsi,
    515515                        i, (uint16_t)cylinders, heads, sectors_per_track, sectors);
    516516
Note: See TracChangeset for help on using the changeset viewer.

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