This commit is contained in:
Vitaly Kravchenko
2022-05-13 09:32:04 +01:00
parent daef39a206
commit 9e2a847ebc
2 changed files with 1 additions and 1 deletions

View File

@@ -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 {

BIN
demo.bin Executable file

Binary file not shown.