From 9e4a472c109d91ae9550b9474425ce16e081894b Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Mon, 1 Jul 2024 09:41:25 +0200 Subject: IMP: NewFS: Update ErrLocal if file we want to create exists. Signed-off-by: Amlal EL Mahrouss --- Kernel/KernelKit/HError.hpp | 2 +- Kernel/KernelKit/PermissionSelector.hxx | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'Kernel/KernelKit') 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 #include -// 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_ */ -- cgit v1.2.3