From a4d64ddc1375f40a4c72bd2ba9326df04058c9bb Mon Sep 17 00:00:00 2001 From: Amlal Date: Mon, 27 Jan 2025 15:09:24 +0100 Subject: Bump and fixes. Signed-off-by: Amlal --- dev/Kernel/src/Semaphore.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/Kernel/src/Semaphore.cc') diff --git a/dev/Kernel/src/Semaphore.cc b/dev/Kernel/src/Semaphore.cc index 07434e75..d0498b28 100644 --- a/dev/Kernel/src/Semaphore.cc +++ b/dev/Kernel/src/Semaphore.cc @@ -16,7 +16,7 @@ namespace Kernel { if (fLockingProcess) { - fLockingProcess = UserProcess(); + fLockingProcess = UserProcess(); fLockingProcess.Status = ProcessStatusKind::kFrozen; return Yes; } @@ -42,7 +42,7 @@ namespace Kernel /***********************************************************************************/ Bool Semaphore::IsLocked() const { - return fLockingProcess->Status == ProcessStatusKind::kRunning; + return fLockingProcess.Status == ProcessStatusKind::kRunning; } /***********************************************************************************/ -- cgit v1.2.3