- Timestamp:
- Dec 3, 2008 9:25:17 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 40320
- Location:
- trunk/src/VBox/Main
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/AudioAdapterImpl.cpp
r14772 r14959 527 527 #endif 528 528 default: 529 ComAssertMsgFailedRet (("Wrong audio driver type! driver = %d \n",529 ComAssertMsgFailedRet (("Wrong audio driver type! driver = %d", 530 530 mData->mAudioDriver), 531 531 E_FAIL); -
trunk/src/VBox/Main/BIOSSettingsImpl.cpp
r14772 r14959 568 568 mData->mBootMenuMode = BIOSBootMenuMode_MessageAndMenu; 569 569 else 570 ComAssertMsgFailedRet (("Invalid boot menu mode '%s' \n", modeStr),570 ComAssertMsgFailedRet (("Invalid boot menu mode '%s'", modeStr), 571 571 E_FAIL); 572 572 } … … 601 601 mData->mIDEControllerType = IDEControllerType_PIIX4; 602 602 else 603 ComAssertMsgFailedRet (("Invalid boot menu mode '%s' \n", typeStr),603 ComAssertMsgFailedRet (("Invalid boot menu mode '%s'", typeStr), 604 604 E_FAIL); 605 605 } … … 666 666 break; 667 667 default: 668 ComAssertMsgFailedRet (("Invalid boot menu type: %d \n",668 ComAssertMsgFailedRet (("Invalid boot menu type: %d", 669 669 mData->mBootMenuMode), 670 670 E_FAIL); … … 698 698 break; 699 699 default: 700 ComAssertMsgFailedRet (("Invalid IDE Controller type: %d \n",700 ComAssertMsgFailedRet (("Invalid IDE Controller type: %d", 701 701 mData->mIDEControllerType), 702 702 E_FAIL); -
trunk/src/VBox/Main/ConsoleImpl.cpp
r14849 r14959 1441 1441 "VMPowerDown"); 1442 1442 ComAssertMsgRCRet (vrc, 1443 ("Could not create VMPowerDown thread (%Rrc) \n", vrc), E_FAIL);1443 ("Could not create VMPowerDown thread (%Rrc)", vrc), E_FAIL); 1444 1444 1445 1445 /* task is now owned by powerDownThread(), so release it */ … … 1818 1818 0, RTTHREADTYPE_MAIN_WORKER, 0, "VMSave"); 1819 1819 1820 ComAssertMsgRCBreak (vrc, ("Could not create VMSave thread (%Rrc) \n", vrc),1820 ComAssertMsgRCBreak (vrc, ("Could not create VMSave thread (%Rrc)", vrc), 1821 1821 rc = E_FAIL); 1822 1822 … … 2371 2371 0, RTTHREADTYPE_MAIN_WORKER, 0, "VMTakeSnap"); 2372 2372 2373 ComAssertMsgRCBreak (vrc, ("Could not create VMTakeSnap thread (%Rrc) \n", vrc),2373 ComAssertMsgRCBreak (vrc, ("Could not create VMTakeSnap thread (%Rrc)", vrc), 2374 2374 rc = E_FAIL); 2375 2375 … … 4513 4513 0, RTTHREADTYPE_MAIN_WORKER, 0, "VMPowerUp"); 4514 4514 4515 ComAssertMsgRCRet (vrc, ("Could not create VMPowerUp thread (%Rrc) \n", vrc),4515 ComAssertMsgRCRet (vrc, ("Could not create VMPowerUp thread (%Rrc)", vrc), 4516 4516 E_FAIL); 4517 4517 -
trunk/src/VBox/Main/DVDDriveImpl.cpp
r14772 r14959 527 527 break; 528 528 default: 529 ComAssertMsgFailedRet (("Invalid drive state: %d \n", mData->mState),529 ComAssertMsgFailedRet (("Invalid drive state: %d", mData->mState), 530 530 E_FAIL); 531 531 } -
trunk/src/VBox/Main/FloppyDriveImpl.cpp
r14772 r14959 534 534 break; 535 535 default: 536 ComAssertMsgFailedRet (("Invalid drive state: %d \n", mData->mState),536 ComAssertMsgFailedRet (("Invalid drive state: %d", mData->mState), 537 537 E_FAIL); 538 538 } -
trunk/src/VBox/Main/MachineImpl.cpp
r14934 r14959 5084 5084 mHWData->mBootOrder [position] = DeviceType_Network; 5085 5085 else 5086 ComAssertMsgFailed (("Invalid device: %s \n", device));5086 ComAssertMsgFailed (("Invalid device: %s", device)); 5087 5087 } 5088 5088 } … … 6446 6446 default: 6447 6447 { 6448 ComAssertMsgFailedRet (("Invalid boot device: %d \n",6448 ComAssertMsgFailedRet (("Invalid boot device: %d", 6449 6449 mHWData->mBootOrder [pos]), 6450 6450 E_FAIL); … … 7727 7727 mIPCSem = ::CreateMutex (NULL, FALSE, mIPCSemName); 7728 7728 ComAssertMsgRet (mIPCSem, 7729 ("Cannot create IPC mutex '%ls', err=%d \n",7729 ("Cannot create IPC mutex '%ls', err=%d", 7730 7730 mIPCSemName.raw(), ::GetLastError()), 7731 7731 E_FAIL); … … 7736 7736 APIRET arc = ::DosCreateMutexSem ((PSZ) ipcSem.raw(), &mIPCSem, 0, FALSE); 7737 7737 ComAssertMsgRet (arc == NO_ERROR, 7738 ("Cannot create IPC mutex '%s', arc=%ld \n",7738 ("Cannot create IPC mutex '%s', arc=%ld", 7739 7739 ipcSem.raw(), arc), 7740 7740 E_FAIL); -
trunk/src/VBox/Main/NetworkAdapterImpl.cpp
r14938 r14959 1165 1165 break; 1166 1166 default: 1167 ComAssertMsgFailedRet (("Invalid network adapter type: %d \n",1167 ComAssertMsgFailedRet (("Invalid network adapter type: %d", 1168 1168 mData->mAdapterType), 1169 1169 E_FAIL); -
trunk/src/VBox/Main/SerialPortImpl.cpp
r14772 r14959 209 209 mData->mHostMode = PortMode_Disconnected; 210 210 else 211 ComAssertMsgFailedRet (("Invalid port mode '%s' \n", mode), E_FAIL);211 ComAssertMsgFailedRet (("Invalid port mode '%s'", mode), E_FAIL); 212 212 213 213 /* pipe/device path (optional, defaults to null) */ … … 260 260 break; 261 261 default: 262 ComAssertMsgFailedRet (("Invalid serial port mode: %d \n",262 ComAssertMsgFailedRet (("Invalid serial port mode: %d", 263 263 mData->mHostMode), 264 264 E_FAIL); -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r14952 r14959 2024 2024 RTTHREADFLAGS_WAITABLE, "SVCHelper"); 2025 2025 2026 ComAssertMsgRCRet (vrc, ("Could not create SVCHelper thread (%Rrc) \n", vrc),2026 ComAssertMsgRCRet (vrc, ("Could not create SVCHelper thread (%Rrc)", vrc), 2027 2027 E_FAIL); 2028 2028 … … 3890 3890 catch (const std::exception &err) 3891 3891 { 3892 ComAssertMsgFailedPos (("Unexpected exception '%s' (%s) \n",3892 ComAssertMsgFailedPos (("Unexpected exception '%s' (%s)", 3893 3893 typeid (err).name(), err.what()), 3894 3894 pszFile, iLine, pszFunction); … … 3897 3897 catch (...) 3898 3898 { 3899 ComAssertMsgFailedPos (("Unknown exception \n"),3899 ComAssertMsgFailedPos (("Unknown exception"), 3900 3900 pszFile, iLine, pszFunction); 3901 3901 return E_FAIL; -
trunk/src/VBox/Main/include/VirtualBoxBase.h
r14949 r14959 275 275 #define ComAssertComRC(rc) AssertComRC (rc) 276 276 #else 277 #define ComAssertComRC(rc) ComAssertMsg (SUCCEEDED (rc), ("COM RC = %Rhrc (0x%08X) \n", (rc), (rc)))277 #define ComAssertComRC(rc) ComAssertMsg (SUCCEEDED (rc), ("COM RC = %Rhrc (0x%08X)", (rc), (rc))) 278 278 #endif 279 279
Note:
See TracChangeset
for help on using the changeset viewer.