Changeset 24567 in vbox for trunk/src/VBox
- Timestamp:
- Nov 10, 2009 8:05:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VM.cpp
r24508 r24567 3578 3578 DECLCALLBACK(void) vmR3SetErrorUV(PUVM pUVM, int rc, RT_SRC_POS_DECL, const char *pszFormat, va_list *pArgs) 3579 3579 { 3580 /* 3581 * Log the error. 3582 */ 3583 va_list va3; 3584 va_copy(va3, *pArgs); 3585 RTLogRelPrintf("VMSetError: %s(%d) %s\nVMSetError: %N\n", pszFile, iLine, pszFunction, pszFormat, &va3); 3586 va_end(va3); 3587 3580 3588 #ifdef LOG_ENABLED 3581 /*3582 * Log the error.3583 */3584 va_list va3;3585 3589 va_copy(va3, *pArgs); 3586 3590 RTLogPrintf("VMSetError: %s(%d) %s\n%N\n", pszFile, iLine, pszFunction, pszFormat, &va3); … … 3609 3613 } 3610 3614 RTCritSectLeave(&pUVM->vm.s.AtErrorCritSect); 3611 3612 /*3613 * Write the error to the release log if there weren't anyone to callback.3614 */3615 if (!fCalledSomeone)3616 {3617 va_list va3;3618 va_copy(va3, *pArgs);3619 RTLogRelPrintf("VMSetError: %s(%d) %s\nVMSetError: %N\n", pszFile, iLine, pszFunction, pszFormat, &va3);3620 va_end(va3);3621 }3622 3615 } 3623 3616
Note:
See TracChangeset
for help on using the changeset viewer.