VirtualBox

Changeset 50899 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Mar 26, 2014 6:08:27 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93013
Message:

remove changes that break up log and error strings, introduced in 92972

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp

    r50874 r50899  
    487487        if (RT_UNLIKELY(mData.mPID != uPID))
    488488        {
    489             Utf8Str str;
    490             str  = "Stale guest process (PID=%RU32) sent data to newly started";
    491             str += " process (pProcesS=%p, PID=%RU32, status=%RU32)\n";
    492             LogFlowFunc((str.c_str(), uPID, this, mData.mPID, mData.mStatus));
     489            LogFlowFunc(("Stale guest process (PID=%RU32) sent data to a newly started process (pProcesS=%p, PID=%RU32, status=%RU32)\n",
     490                         uPID, this, mData.mPID, mData.mStatus));
    493491            rc = VERR_NOT_FOUND;
    494492        }
     
    13801378    {
    13811379        waitResult = ProcessWaitResult_Error;
    1382         Utf8Str str;
    1383         str  = "No error rc (%Rrc) set when guest process indicated an error\n";
    1384         AssertMsg(RT_FAILURE(mData.mLastError), (str.c_str(), mData.mLastError));
     1380        AssertMsg(RT_FAILURE(mData.mLastError),
     1381                             ("No error rc (%Rrc) set when guest process indicated an error\n", mData.mLastError));
    13851382        if (pGuestRc)
    13861383            *pGuestRc = mData.mLastError; /* Return last set error. */
     
    16661663                              void *pvData, size_t cbData, uint32_t uTimeoutMS, uint32_t *puWritten, int *pGuestRc)
    16671664{
    1668     Utf8Str str;
    1669     str = "uPID=%RU32, uHandle=%RU32, uFlags=%RU32, pvData=%p, cbData=%RU32, uTimeoutMS=%RU32, puWritten=%p, pGuestRc=%p\n";
    1670     LogFlowThisFunc((str.c_str(), mData.mPID, uHandle, uFlags, pvData, cbData, uTimeoutMS, puWritten, pGuestRc));
     1665    LogFlowThisFunc(("uPID=%RU32, uHandle=%RU32, uFlags=%RU32, pvData=%p, cbData=%RU32, uTimeoutMS=%RU32, puWritten=%p, pGuestRc=%p\n",
     1666                     mData.mPID, uHandle, uFlags, pvData, cbData, uTimeoutMS, puWritten, pGuestRc));
    16711667    /* All is optional. There can be 0 byte writes. */
    1672 
    16731668    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    16741669
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r50874 r50899  
    21562156    if (   mData.mProtocolVersion < 2
    21572157        && s_gctrlLegacyWarning++ < 3) /** @todo Find a bit nicer text. */
    2158     {
    2159         Utf8Str str;
    2160         str = "Warning: Guest Additions are older (%ld.%ld) than host";
    2161         str += " capabilities for guest control, please upgrade them. Using protocol version %ld now\n";
    2162         LogRel((tr(str.c_str()), uVBoxMajor, uVBoxMinor, mData.mProtocolVersion));
    2163     }
     2158        LogRel((tr("Warning: Guest Additions are older (%ld.%ld) than host capabilities for guest control, please upgrade them. Using protocol version %ld now\n"),
     2159                uVBoxMajor, uVBoxMinor, mData.mProtocolVersion));
     2160
    21642161    return VINF_SUCCESS;
    21652162}
Note: See TracChangeset for help on using the changeset viewer.

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