diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-06-30 11:13:35 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-06-30 11:18:40 -0400 |
| commit | 8b915aae5ef97d82d8b601eef8502bd49c84af66 (patch) | |
| tree | 7ae79009822531d2f4ac4f6b1ac4ff1e2343fe47 /core/sys/freebsd | |
| parent | f0cf1052d04d890ef9692c5b289794355abb6a01 (diff) | |
Update code for new `-vet`
Diffstat (limited to 'core/sys/freebsd')
| -rw-r--r-- | core/sys/freebsd/syscalls.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sys/freebsd/syscalls.odin b/core/sys/freebsd/syscalls.odin index 581b08253..140475297 100644 --- a/core/sys/freebsd/syscalls.odin +++ b/core/sys/freebsd/syscalls.odin @@ -207,7 +207,7 @@ fcntl_setfd :: proc "contextless" (fd: Fd, close_on_exec: bool) -> Errno { result, _ := intrinsics.syscall_bsd(SYS_fcntl, cast(uintptr)fd, cast(uintptr)File_Control_Command.SETFD, - cast(uintptr)(close_on_exec ? FD_CLOEXEC : 0)) + (close_on_exec ? FD_CLOEXEC : 0)) return cast(Errno)result } |