- Timestamp:
- Apr 9, 2011 12:17:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VHD.cpp
r36633 r36636 1628 1628 size_t cbBuf, size_t *pcbActuallyRead) 1629 1629 { 1630 LogFlowFunc(("pBackendData=%p uOffset=%#ll xpvBuf=%p cbBuf=%u pcbActuallyRead=%p\n", pBackendData, uOffset, pvBuf, cbBuf, pcbActuallyRead));1630 LogFlowFunc(("pBackendData=%p uOffset=%#llu pvBuf=%p cbBuf=%u pcbActuallyRead=%p\n", pBackendData, uOffset, pvBuf, cbBuf, pcbActuallyRead)); 1631 1631 PVHDIMAGE pImage = (PVHDIMAGE)pBackendData; 1632 1632 int rc = VINF_SUCCESS; … … 3012 3012 break; 3013 3013 3014 paBat[uBlockData] = i* pImage->cSectorsPerDataBlock+ offBlocksStart;3014 paBat[uBlockData] = i*(pImage->cSectorsPerDataBlock + pImage->cDataBlockBitmapSectors) + offBlocksStart; 3015 3015 3016 3016 /* Truncate the file but leave enough room for the footer to avoid
Note:
See TracChangeset
for help on using the changeset viewer.