1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:45:10 +00:00

Kernel: Fix typo

This commit is contained in:
Ben Wiederhake 2021-02-10 21:18:03 +01:00 committed by Andreas Kling
parent caeb41d92b
commit b5e5e43d4b

View file

@ -248,7 +248,7 @@ void Thread::die_if_needed()
ScopedCritical critical;
// Flag a context switch. Because we're in a critical section,
// Scheduler::yield will actually only mark a pending scontext switch
// Scheduler::yield will actually only mark a pending context switch
// Simply leaving the critical section would not necessarily trigger
// a switch.
Scheduler::yield();