VirtualBox

Ignore:
Timestamp:
May 19, 2017 11:03:17 AM (8 years ago)
Author:
vboxsync
Message:

VSCSI/SBC: Mixed up cSectors and cbSector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VSCSI/VSCSILunSbc.cpp

    r66969 r66970  
    6464
    6565    if (RT_SUCCESS(rc))
    66         rc = vscsiLunMediumQueryRegionProperties(pVScsiLun, 0, NULL, &pVScsiLunSbc->cbSector,
    67                                                  &pVScsiLunSbc->cSectors, NULL);
     66        rc = vscsiLunMediumQueryRegionProperties(pVScsiLun, 0, NULL, &pVScsiLunSbc->cSectors,
     67                                                 &pVScsiLunSbc->cbSector, NULL);
    6868    if (RT_SUCCESS(rc))
    6969        rc = vscsiVpdPagePoolInit(&pVScsiLunSbc->VpdPagePool);
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