Changeset 27477 in vbox for trunk/src/VBox
- Timestamp:
- Mar 18, 2010 12:17:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp
r27476 r27477 2468 2468 if (cbLimit && uOffset + cb + 1 > cbLimit) 2469 2469 return vmdkError(pImage, VERR_BUFFER_OVERFLOW, RT_SRC_POS, N_("VMDK: descriptor too long in '%s'"), pImage->pszFilename); 2470 rc = vmdkFileWriteAt(pDescFile, uOffset, psz, cb, NULL); 2471 if (RT_FAILURE(rc)) 2472 return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: error writing descriptor in '%s'"), pImage->pszFilename); 2473 uOffset += cb; 2470 2471 if (cb > 0) 2472 { 2473 rc = vmdkFileWriteAt(pDescFile, uOffset, psz, cb, NULL); 2474 if (RT_FAILURE(rc)) 2475 return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: error writing descriptor in '%s'"), pImage->pszFilename); 2476 uOffset += cb; 2477 } 2478 2474 2479 rc = vmdkFileWriteAt(pDescFile, uOffset, "\n", 1, NULL); 2475 2480 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.