diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-22 09:31:21 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-22 09:32:01 -0500 |
| commit | ab37adbacf0f33845804c788b39680cd754752a8 (patch) | |
| tree | a533c6f0256d3067ed0e050dae59a54a6f37342b /dev/kernel/NeKit | |
| parent | efefa7221a3fea3636a64f2bf067e2af75626f34 (diff) | |
fix: kernel: Important kernel fixes for SMP. Adding 'NeKernel' process as well.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/NeKit')
| -rw-r--r-- | dev/kernel/NeKit/ErrorOr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/kernel/NeKit/ErrorOr.h b/dev/kernel/NeKit/ErrorOr.h index 4c924957..d930fe17 100644 --- a/dev/kernel/NeKit/ErrorOr.h +++ b/dev/kernel/NeKit/ErrorOr.h @@ -50,7 +50,7 @@ class ErrorOr final { /// @note DO NOT MAKE THIS EXPLICIT! IT WILL BREAK THE COMPILATION. operator bool() { return mRef; } - BOOL HasError() { return this->mId > 0; } + BOOL HasError() { return this->mId < 0; } private: Ref<T> mRef; |
