mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-21 21:24:59 -07:00
fix typo
This commit is contained in:
@@ -404,7 +404,7 @@ read :: proc(fd: Handle, data: []u8) -> (int, Errno) {
|
||||
return 0, ERROR_NONE
|
||||
}
|
||||
|
||||
bytes_read := _unix_read(fd, raw_data(slice), c.size_t(len(data)))
|
||||
bytes_read := _unix_read(fd, raw_data(data), c.size_t(len(data)))
|
||||
if bytes_read < 0 {
|
||||
return -1, _get_errno(bytes_read)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user