mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
fix typo
This commit is contained in:
@@ -404,7 +404,7 @@ read :: proc(fd: Handle, data: []u8) -> (int, Errno) {
|
|||||||
return 0, ERROR_NONE
|
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 {
|
if bytes_read < 0 {
|
||||||
return -1, _get_errno(bytes_read)
|
return -1, _get_errno(bytes_read)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user