aboutsummaryrefslogtreecommitdiff
path: root/core/flags
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-08-04 11:47:23 +0100
committergingerBill <bill@gingerbill.org>2024-08-04 11:47:23 +0100
commit1d75a612d54f102ef530c1f58546e3cdb239160c (patch)
tree394d05aa870c6a5e06b6563ef3c70828a8f8afc6 /core/flags
parent160048eaeeb622fc8532787ed43e53d3818a1657 (diff)
`os.Errno` -> `os.Error`
Diffstat (limited to 'core/flags')
-rw-r--r--core/flags/errors.odin2
-rw-r--r--core/flags/internal_rtti.odin2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/flags/errors.odin b/core/flags/errors.odin
index 21ea05477..6e48f6ccf 100644
--- a/core/flags/errors.odin
+++ b/core/flags/errors.odin
@@ -28,7 +28,7 @@ Parse_Error :: struct {
// Provides more granular information than what just a string could hold.
Open_File_Error :: struct {
filename: string,
- errno: os.Errno,
+ errno: os.Error,
mode: int,
perms: int,
}
diff --git a/core/flags/internal_rtti.odin b/core/flags/internal_rtti.odin
index ac39eaa8b..8838b771d 100644
--- a/core/flags/internal_rtti.odin
+++ b/core/flags/internal_rtti.odin
@@ -255,7 +255,7 @@ parse_and_set_pointer_by_named_type :: proc(ptr: rawptr, str: string, data_type:
handle, errno := os.open(str, mode, perms)
if errno != 0 {
- // NOTE(Feoramund): os.Errno is system-dependent, and there's
+ // NOTE(Feoramund): os.Error is system-dependent, and there's
// currently no good way to translate them all into strings.
//
// The upcoming `os2` package will hopefully solve this.