aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/os/os_haiku.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os_haiku.odin b/core/os/os_haiku.odin
index d44ca9df0..6b218af07 100644
--- a/core/os/os_haiku.odin
+++ b/core/os/os_haiku.odin
@@ -16,7 +16,7 @@ _Platform_Error :: haiku.Errno
MAX_PATH :: haiku.PATH_MAX
-ENOSYS :: _Platform_Error(i32(haiku.Errno.POSIX_ERROR_BASE) + 9)
+ENOSYS :: _Platform_Error(haiku.Errno.ENOSYS)
INVALID_HANDLE :: ~Handle(0)