Changeset 26683 in vbox for trunk/src/VBox/Runtime/common
- Timestamp:
- Feb 22, 2010 4:43:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/message.cpp
r26674 r26683 99 99 100 100 101 RTDECL(int) RTMsgInitFailure(int rcRTR3Init) 101 RTDECL(RTEXITCODE) RTMsgErrorExit(RTEXITCODE enmExitCode, const char *pszFormat, ...) 102 { 103 va_list va; 104 va_start(va, pszFormat); 105 RTMsgErrorV(pszFormat, va); 106 va_end(va); 107 return enmExitCode; 108 } 109 RT_EXPORT_SYMBOL(RTMsgErrorExitV); 110 111 112 RTDECL(RTEXITCODE) RTMsgErrorExitV(RTEXITCODE enmExitCode, const char *pszFormat, va_list va) 113 { 114 RTMsgErrorV(pszFormat, va); 115 return enmExitCode; 116 } 117 RT_EXPORT_SYMBOL(RTMsgErrorExitV); 118 119 120 RTDECL(RTEXITCODE) RTMsgInitFailure(int rcRTR3Init) 102 121 { 103 122 if ( g_offrtProcName … … 108 127 else 109 128 RTStrmPrintf(g_pStdErr, "fatal error: RTR3Init: %Rrc\n", rcRTR3Init); 110 return 12;129 return RTEXITCODE_INIT; 111 130 } 112 131 RT_EXPORT_SYMBOL(RTMsgInitFailure);
Note:
See TracChangeset
for help on using the changeset viewer.