Skip to content
Snippets Groups Projects
Commit 207087c8 authored by Lioncash's avatar Lioncash
Browse files

thread: Fix a conditional check in Reschedule

parent e83bc5b7
No related branches found
No related tags found
No related merge requests found
......@@ -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());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment