diff options
| author | gingerBill <bill@gingerbill.org> | 2022-09-22 12:21:43 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-09-22 12:21:43 +0100 |
| commit | c767d55e9abf866938ece2fa4d05cd34fffec0a3 (patch) | |
| tree | 3e84a4fad05ec07880234acc6677b45d70ba74d3 | |
| parent | 7f601c953537041467c1f5c3678a6bfd4ea6413f (diff) | |
Fix typo
| -rw-r--r-- | core/os/os_freebsd.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os_freebsd.odin b/core/os/os_freebsd.odin index 2e695cc33..b0978ad6e 100644 --- a/core/os/os_freebsd.odin +++ b/core/os/os_freebsd.odin @@ -604,7 +604,7 @@ access :: proc(path: string, mask: int) -> (bool, Errno) { } heap_alloc :: proc(size: int, zero_memory := true) -> rawptr { - if zero <= 0 { + if size <= 0 { return nil } if zero_memory { |