Changeset 2385 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Apr 27, 2007 8:32:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp
r2381 r2385 1377 1377 if (!pExtent->uDescriptorSector || !pExtent->cDescriptorSectors) 1378 1378 { 1379 rc = vmdkError(p Extent->pImage, VERR_VDI_INVALID_HEADER, RT_SRC_POS, N_("VMDK: monolithic image without descriptor in file '%s'"), pszFilename);1379 rc = vmdkError(pImage, VERR_VDI_INVALID_HEADER, RT_SRC_POS, N_("VMDK: monolithic image without descriptor in file '%s'"), pszFilename); 1380 1380 goto out; 1381 1381 } … … 1394 1394 if (VBOX_FAILURE(rc)) 1395 1395 { 1396 rc = vmdkError(p Extent->pImage, rc, RT_SRC_POS, N_("VMDK: read error for descriptor in file '%s'"), pExtent->pszFullname);1396 rc = vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: read error for descriptor in file '%s'"), pExtent->pszFullname); 1397 1397 goto out; 1398 1398 } … … 1425 1425 if (VBOX_FAILURE(rc)) 1426 1426 { 1427 rc = vmdkError(p Extent->pImage, rc, RT_SRC_POS, N_("VMDK: read error for descriptor in file '%s'"), pExtent->pszFullname);1427 rc = vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: read error for descriptor in file '%s'"), pszFilename); 1428 1428 goto out; 1429 1429 } … … 1432 1432 /* Likely the read is truncated. Better fail a bit too early 1433 1433 * (normally the descriptor is much smaller than our buffer). */ 1434 rc = vmdkError(p Extent->pImage, VERR_VDI_INVALID_HEADER, RT_SRC_POS, N_("VMDK: cannot read descriptor in file '%s'"), pExtent->pszFullname);1434 rc = vmdkError(pImage, VERR_VDI_INVALID_HEADER, RT_SRC_POS, N_("VMDK: cannot read descriptor in file '%s'"), pszFilename); 1435 1435 goto out; 1436 1436 }
Note:
See TracChangeset
for help on using the changeset viewer.