diff --git a/core/os/os2/file_util.odin b/core/os/os2/file_util.odin index 97e6090a3..90ce96223 100644 --- a/core/os/os2/file_util.odin +++ b/core/os/os2/file_util.odin @@ -126,6 +126,7 @@ read_entire_file_from_file :: proc(f: ^File, allocator: runtime.Allocator) -> (d size = int(size64) } } else if serr != .No_Size { + err = serr return }