aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Kravchenko <vitalyx@gmail.com>2022-05-13 09:32:04 +0100
committerVitaly Kravchenko <vitalyx@gmail.com>2022-05-13 09:32:04 +0100
commit9e2a847ebce45cb16f3740419a07ecfd27026ca7 (patch)
tree24fe97a309494b9f4a888154165522f75b0af894
parentdaef39a206657586f14c7ffc021cfa14a675bc27 (diff)
Typo fix
-rw-r--r--core/os/os_darwin.odin2
-rwxr-xr-xdemo.binbin0 -> 710357 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os_darwin.odin b/core/os/os_darwin.odin
index 64e195422..c36823e3f 100644
--- a/core/os/os_darwin.odin
+++ b/core/os/os_darwin.odin
@@ -362,7 +362,7 @@ when ODIN_OS == .Darwin && ODIN_ARCH == .arm64 {
}
fchmod :: proc(fd: Handle, mode: u16) -> Errno {
- return cast(Errno)_unix_fchmod(fildes, mode)
+ return cast(Errno)_unix_fchmod(fd, mode)
}
close :: proc(fd: Handle) -> bool {
diff --git a/demo.bin b/demo.bin
new file mode 100755
index 000000000..5f8c90ed9
--- /dev/null
+++ b/demo.bin
Binary files differ