summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorsigsegv7 <ian@vegaa.systems>2023-09-20 00:20:27 -0400
committersigsegv7 <ian@vegaa.systems>2023-09-20 00:20:27 -0400
commit41393c85ccf35e785eea260dfa9cd95a23d7ba3c (patch)
tree0e0b6f931a2ed86ad314ffaa41c6e77efdd23b41 /sys
parentf1e6e1114aaa2c9be69c456a20da82c877a1c8e3 (diff)
kernel: Fixup errno.h
Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys')
-rw-r--r--sys/include/sys/errno.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/include/sys/errno.h b/sys/include/sys/errno.h
index cadbb2f..36bdc4a 100644
--- a/sys/include/sys/errno.h
+++ b/sys/include/sys/errno.h
@@ -30,6 +30,7 @@
#ifndef _SYS_ERRNO_H_
#define _SYS_ERRNO_H_
-#define EXIT_FAILURE -1
+#define EXIT_SUCCESS 0
+#define EXIT_FAILURE 1
#endif