Kernel/Semaphore: Small style change

merge-requests/60/head
Subv 2014-12-13 10:29:11 +07:00
parent effb181888
commit ea95876431
1 changed files with 1 additions and 1 deletions

@ -34,7 +34,7 @@ public:
}
ResultVal<bool> WaitSynchronization() override {
bool wait = available_count == 0;
bool wait = !IsAvailable();
if (wait) {
Kernel::WaitCurrentThread(WAITTYPE_SEMA, GetHandle());