mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
Fixed infinite recursive call in debug print
svn path=/trunk/; revision=2549
This commit is contained in:
parent
56275af6c3
commit
5f282abf99
1 changed files with 7 additions and 7 deletions
|
@ -70,13 +70,13 @@ VOID Pice_dprintf(ULONG DebugLevel, PCHAR DebugMessage, ...)
|
|||
va_start(ap, DebugMessage);
|
||||
if (/*DebugLevel <= lDebugLevel*/ DebugLevel == 2)
|
||||
{
|
||||
save_flags(ulDebugFlags);
|
||||
cli();
|
||||
PICE_vsprintf(tempDebug, DebugMessage, ap);
|
||||
//ei DebugSendString(tempDebug);
|
||||
Print(OUTPUT_WINDOW, tempDebug);
|
||||
DbgPrint("%s", tempDebug);
|
||||
restore_flags(ulDebugFlags);
|
||||
save_flags(ulDebugFlags);
|
||||
cli();
|
||||
PICE_vsprintf(tempDebug, DebugMessage, ap);
|
||||
//ei DebugSendString(tempDebug);
|
||||
//Print(OUTPUT_WINDOW, tempDebug);
|
||||
DbgPrint("%s", tempDebug);
|
||||
restore_flags(ulDebugFlags);
|
||||
}
|
||||
va_end(ap);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue