VirtualBox

Ignore:
Timestamp:
May 10, 2007 4:38:18 PM (18 years ago)
Author:
vboxsync
Message:

Fix incorrect error check for VMDK with separate descriptor file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VmdkHDDCore.cpp

    r2582 r2583  
    10731073    {
    10741074        rc = RTFileSetSize(DescFile, uOffset);
    1075         return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: error truncating descriptor file '%s'"), pImage->pszFilename);
     1075        if (VBOX_FAILURE(rc))
     1076            return vmdkError(pImage, rc, RT_SRC_POS, N_("VMDK: error truncating descriptor file '%s'"), pImage->pszFilename);
    10761077    }
    10771078    pImage->Descriptor.fDirty = false;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette