summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/FileManager.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-27 19:38:51 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-27 19:42:30 +0100
commitc6c908167e37e0f82e272f6f9fd6462c0dd4502c (patch)
treecb5b6337cc413da9c95e9aa0406ed023b6ce9614 /Private/KernelKit/FileManager.hpp
parent2f7c48ef9172ba48fa177600a12ab0d51cb9e566 (diff)
Kernel: Last refactor of the kernel.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/KernelKit/FileManager.hpp')
-rw-r--r--Private/KernelKit/FileManager.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Private/KernelKit/FileManager.hpp b/Private/KernelKit/FileManager.hpp
index 311527f9..04055815 100644
--- a/Private/KernelKit/FileManager.hpp
+++ b/Private/KernelKit/FileManager.hpp
@@ -136,7 +136,7 @@ namespace hCore
ErrorOr<Int64> WriteAll(const VoidPtr data) noexcept
{
if (data == nullptr)
- return ErrorOr<Int64>(ME_INVALID_DATA);
+ return ErrorOr<Int64>(H_INVALID_DATA);
auto man = FSClass::GetMounted();
@@ -146,7 +146,7 @@ namespace hCore
return ErrorOr<Int64>(0);
}
- return ErrorOr<Int64>(ME_INVALID_DATA);
+ return ErrorOr<Int64>(H_INVALID_DATA);
}
VoidPtr ReadAll() noexcept