VirtualBox

Changeset 24887 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Nov 24, 2009 9:01:37 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55159
Message:

VBoxHDD: print error IPRT error code

File:
1 edited

Legend:

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

    r24439 r24887  
    12691269        {
    12701270            if (!(uOpenFlags & VD_OPEN_FLAGS_READONLY)
    1271                 &&  (rc == VERR_ACCESS_DENIED
     1271                &&  (   rc == VERR_ACCESS_DENIED
    12721272                     || rc == VERR_PERMISSION_DENIED
    12731273                     || rc == VERR_WRITE_PROTECT
     
    12831283            {
    12841284                rc = vdError(pDisk, rc, RT_SRC_POS,
    1285                              N_("VD: error %d opening image file '%s'"), rc, pszFilename);
     1285                             N_("VD: error %Rrc opening image file '%s'"), rc, pszFilename);
    12861286                break;
    12871287            }
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