Changeset 15156 in vbox for trunk/src/VBox/Devices/Storage/DrvVD.cpp
- Timestamp:
- Dec 9, 2008 11:04:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvVD.cpp
r14780 r15156 552 552 PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface); 553 553 int rc = VDSetPCHSGeometry(pThis->pDisk, VD_LAST_IMAGE, pPCHSGeometry); 554 if (rc == VERR_VDI_GEOMETRY_NOT_SET) 555 rc = VERR_PDM_GEOMETRY_NOT_SET; 554 556 LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc)); 555 557 return rc; … … 581 583 PVBOXDISK pThis = PDMIMEDIA_2_VBOXDISK(pInterface); 582 584 int rc = VDSetLCHSGeometry(pThis->pDisk, VD_LAST_IMAGE, pLCHSGeometry); 585 if (rc == VERR_VDI_GEOMETRY_NOT_SET) 586 rc = VERR_PDM_GEOMETRY_NOT_SET; 583 587 LogFlow(("%s: returns %Rrc\n", __FUNCTION__, rc)); 584 588 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.