thread: Fix a conditional check in Reschedule

This commit is contained in:
Lioncash 2015-05-14 11:10:04 -04:00
parent e83bc5b7ee
commit 207087c856
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ void Reschedule() {
LOG_TRACE(Kernel, "context switch %u -> %u", cur->GetObjectId(), next->GetObjectId());
} else if (cur) {
LOG_TRACE(Kernel, "context switch %u -> idle", cur->GetObjectId());
} else {
} else if (next) {
LOG_TRACE(Kernel, "context switch idle -> %u", next->GetObjectId());
}