Changeset 50899 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Mar 26, 2014 6:08:27 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93013
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r50874 r50899 487 487 if (RT_UNLIKELY(mData.mPID != uPID)) 488 488 { 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)); 493 491 rc = VERR_NOT_FOUND; 494 492 } … … 1380 1378 { 1381 1379 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)); 1385 1382 if (pGuestRc) 1386 1383 *pGuestRc = mData.mLastError; /* Return last set error. */ … … 1666 1663 void *pvData, size_t cbData, uint32_t uTimeoutMS, uint32_t *puWritten, int *pGuestRc) 1667 1664 { 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)); 1671 1667 /* All is optional. There can be 0 byte writes. */ 1672 1673 1668 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 1674 1669 -
trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp
r50874 r50899 2156 2156 if ( mData.mProtocolVersion < 2 2157 2157 && 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 2164 2161 return VINF_SUCCESS; 2165 2162 }
Note:
See TracChangeset
for help on using the changeset viewer.