summaryrefslogtreecommitdiffhomepage
path: root/Comm
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-29 13:15:29 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-06-29 13:15:29 +0200
commitd9d42bcfeb444652ae198a6bd3481ce316549e55 (patch)
tree238e88d868855c4ab6e1c6671bfc18a9930048fe /Comm
parentf562fbf39333925689d6fb704af15efe5f99ed28 (diff)
kernel: Use local error codes for kernel calls. So that we know which
process caused the error, and it's not global as well. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Comm')
-rw-r--r--Comm/herror.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Comm/herror.hxx b/Comm/herror.hxx
index e5042b60..6f6abf6f 100644
--- a/Comm/herror.hxx
+++ b/Comm/herror.hxx
@@ -8,9 +8,9 @@
#include <Comm/newstd.hxx>
-#define DbgOk() (kLastError == kErrorSuccess)
-#define DbgFailed() (kLastError != kErrorSuccess)
-#define DbgLastError() kLastError
+#define ErrLocalIsOk() (kLastError == kErrorSuccess)
+#define ErrLocalFailed() (kLastError != kErrorSuccess)
+#define ErrLocal() kLastError
typedef SInt32 HError;