Changeset 27301 in vbox
- Timestamp:
- Mar 11, 2010 7:53:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/misc/message.cpp
r27128 r27301 59 59 if (!pszEnd) 60 60 { 61 RTStrmPrintf(pDst, "%s: %s%s\n", pszPrefix, &g_szrtProcExePath[g_offrtProcName], psz);61 RTStrmPrintf(pDst, "%s: %s%s\n", &g_szrtProcExePath[g_offrtProcName], pszPrefix, psz); 62 62 break; 63 63 } … … 67 67 { 68 68 *pszEnd = '\0'; 69 RTStrmPrintf(pDst, "%s: %s%s\n", pszPrefix, &g_szrtProcExePath[g_offrtProcName], psz);69 RTStrmPrintf(pDst, "%s: %s%s\n", &g_szrtProcExePath[g_offrtProcName], pszPrefix, psz); 70 70 } 71 71 psz = pszEnd + 1; … … 76 76 { 77 77 /* Simple fallback for handling out-of-memory conditions. */ 78 RTStrmPrintf(pDst, "%s: %s", pszPrefix, &g_szrtProcExePath[g_offrtProcName]);78 RTStrmPrintf(pDst, "%s: %s", &g_szrtProcExePath[g_offrtProcName], pszPrefix); 79 79 RTStrmPrintfV(pDst, pszFormat, va); 80 80 if (!strchr(pszFormat, '\n')) … … 99 99 RTDECL(int) RTMsgErrorV(const char *pszFormat, va_list va) 100 100 { 101 return rtMsgWorker(g_pStdErr, " error:", pszFormat, va);101 return rtMsgWorker(g_pStdErr, "error: ", pszFormat, va); 102 102 } 103 103 RT_EXPORT_SYMBOL(RTMsgErrorV); … … 150 150 RTDECL(int) RTMsgWarningV(const char *pszFormat, va_list va) 151 151 { 152 return rtMsgWorker(g_pStdErr, " warning:", pszFormat, va);152 return rtMsgWorker(g_pStdErr, "warning: ", pszFormat, va); 153 153 } 154 154 RT_EXPORT_SYMBOL(RTMsgWarningV); … … 168 168 RTDECL(int) RTMsgInfoV(const char *pszFormat, va_list va) 169 169 { 170 return rtMsgWorker(g_pStdOut, " info:", pszFormat, va);170 return rtMsgWorker(g_pStdOut, "info: ", pszFormat, va); 171 171 } 172 172 RT_EXPORT_SYMBOL(RTMsgInfoV);
Note:
See TracChangeset
for help on using the changeset viewer.