VirtualBox

Changeset 5027 in vbox for trunk/src


Ignore:
Timestamp:
Sep 25, 2007 3:58:51 PM (17 years ago)
Author:
vboxsync
Message:

Main: Change Utf8StrFmt to Utf8StrFmtVA, could trigger a fancy assertion in the HardDisk code because opening a non-existent VDI would not fail but succeed and give a zero UUID.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/HardDiskImpl.cpp

    r4339 r5027  
    41224122    {
    41234123        LogWarningFunc (("'%ls' is not accessible "
    4124                          "(rc=%08X, vrc=%Vrc, errMsg='%ls')\n",
    4125                          mFilePathFull.raw(), rc, vrc, errMsg.raw()));
     4124                         "(rc=%08X, vrc=%Vrc, errMsg='%ls', mLastVDError='%s')\n",
     4125                         mFilePathFull.raw(), rc, vrc, errMsg.raw(), mLastVDError.raw()));
    41264126
    41274127        if (aAccessError)
     
    42014201
    42024202    /// @todo pass the error message to the operation initiator
    4203     Utf8Str err = Utf8StrFmt (pszFormat, va);
     4203    Utf8Str err = Utf8StrFmtVA (pszFormat, va);
    42044204    if (VBOX_FAILURE (rc))
    42054205        err = Utf8StrFmt ("%s (%Vrc)", err.raw(), rc);
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