1
0
Fork 0
forked from suyu/suyu

Merge pull request #769 from lioncash/cond

thread: Fix a conditional check in Reschedule
This commit is contained in:
bunnei 2015-05-14 16:39:56 -04:00
commit 9f503387dc

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());
}