Keep -vet happy

This commit is contained in:
Feoramund
2024-06-28 23:14:03 -04:00
parent 6496432b80
commit b3caae6db4
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -555,7 +555,7 @@ open :: proc(path: string, flags: int = O_RDWR, mode: int = 0) -> (Handle, Errno
err := fchmod(handle, cast(u16)mode)
if err != 0 {
_unix_close(handle)
return INVALID_HANDLE, cast(Errno)err
return INVALID_HANDLE, err
}
}