summaryrefslogtreecommitdiffhomepage
path: root/Kernel/KernelKit
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-01 09:41:25 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-01 09:41:25 +0200
commit9e4a472c109d91ae9550b9474425ce16e081894b (patch)
tree9acdadaee3deefa74fb0bfd17cbec308ef2d4a33 /Kernel/KernelKit
parent8ee087a640c2ecf592555457f38ff152bd2f2d2e (diff)
IMP: NewFS: Update ErrLocal if file we want to create exists.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/KernelKit')
-rw-r--r--Kernel/KernelKit/HError.hpp2
-rw-r--r--Kernel/KernelKit/PermissionSelector.hxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/Kernel/KernelKit/HError.hpp b/Kernel/KernelKit/HError.hpp
index e893f938..4a2bfa0b 100644
--- a/Kernel/KernelKit/HError.hpp
+++ b/Kernel/KernelKit/HError.hpp
@@ -21,7 +21,7 @@ namespace NewOS
inline constexpr HError kErrorSuccess = 0;
inline constexpr HError kErrorExecutable = 33;
- inline constexpr HError kErrorExecutableLib = 34; // no such library!!!
+ inline constexpr HError kErrorExecutableLib = 34;
inline constexpr HError kErrorFileNotFound = 35;
inline constexpr HError kErrorDirectoryNotFound = 36;
inline constexpr HError kErrorDiskReadOnly = 37;
diff --git a/Kernel/KernelKit/PermissionSelector.hxx b/Kernel/KernelKit/PermissionSelector.hxx
index 5745344c..1d972154 100644
--- a/Kernel/KernelKit/PermissionSelector.hxx
+++ b/Kernel/KernelKit/PermissionSelector.hxx
@@ -1,16 +1,16 @@
/* -------------------------------------------
- Copyright Zeta Electronics Corporation
+ Copyright Zeta Electronics Corporation
------------------------------------------- */
-#ifndef _INC_PERMISSION_SEL_HPP
-#define _INC_PERMISSION_SEL_HPP
+#ifndef _INC_PERMISSION_SEL_HXX_
+#define _INC_PERMISSION_SEL_HXX_
#include <CompilerKit/CompilerKit.hxx>
#include <NewKit/Defines.hpp>
-// kernel mode user.
+// super admin mode user.
#define kMachineUser "Machine"
// user mode users.
@@ -54,4 +54,4 @@ namespace NewOS
};
} // namespace NewOS
-#endif /* ifndef _INC_PERMISSION_SEL_HPP */
+#endif /* ifndef _INC_PERMISSION_SEL_HXX_ */