Changeset 85217 in vbox
- Timestamp:
- Jul 11, 2020 1:56:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImplMoveVM.cpp
r82968 r85217 162 162 163 163 int vrc = RTFsQuerySizes(strTargetFolder.c_str(), &cbTotal, &cbFree, &cbBlock, &cbSector); 164 if ( FAILED(vrc))164 if (RT_FAILURE(vrc)) 165 165 return m_pMachine->setErrorBoth(VBOX_E_IPRT_ERROR, vrc, 166 166 m_pMachine->tr("Unable to determine free space at move destination ('%s'): %Rrc"), … … 197 197 RTFSPROPERTIES properties; 198 198 vrc = RTFsQueryProperties(strTargetFolder.c_str(), &properties); 199 if ( FAILED(vrc))199 if (RT_FAILURE(vrc)) 200 200 return m_pMachine->setErrorVrc(vrc, "RTFsQueryProperties(%s): %Rrc", strTargetFolder.c_str(), vrc); 201 201 … … 353 353 ++uCount; 354 354 uTotalWeight += mtc.chain[a - 1].uWeight; 355 totalMediumsSize += cbSize;355 totalMediumsSize += (uint64_t)cbSize; 356 356 Log2(("Image %s was added into the moved list\n", name.c_str())); 357 357 }
Note:
See TracChangeset
for help on using the changeset viewer.