VirtualBox

Changeset 2385 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Apr 27, 2007 8:32:58 AM (18 years ago)
Author:
vboxsync
Message:

Fixed copy&paste errors. Use the correct image reference and filename.

File:
1 edited

Legend:

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

    r2381 r2385  
    13771377        if (!pExtent->uDescriptorSector || !pExtent->cDescriptorSectors)
    13781378        {
    1379             rc = vmdkError(pExtent->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);
    13801380            goto out;
    13811381        }
     
    13941394        if (VBOX_FAILURE(rc))
    13951395        {
    1396             rc = vmdkError(pExtent->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);
    13971397            goto out;
    13981398        }
     
    14251425        if (VBOX_FAILURE(rc))
    14261426        {
    1427             rc = vmdkError(pExtent->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);
    14281428            goto out;
    14291429        }
     
    14321432            /* Likely the read is truncated. Better fail a bit too early
    14331433             * (normally the descriptor is much smaller than our buffer). */
    1434             rc = vmdkError(pExtent->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);
    14351435            goto out;
    14361436        }
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