Skip to content

Commit

Permalink
fix typo on darwin lseek (#602)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfo authored and andrewrk committed Nov 9, 2017
1 parent 7ea669e commit 52521d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/os/darwin.zig
Expand Up @@ -133,7 +133,7 @@ pub fn fstat(fd: i32, buf: &c.stat) -> usize {
}

pub fn lseek(fd: i32, offset: isize, whence: c_int) -> usize {
errnoWrap(c.lseek(fd, buf, whence))
errnoWrap(c.lseek(fd, offset, whence))
}

pub fn open(path: &const u8, flags: u32, mode: usize) -> usize {
Expand Down

0 comments on commit 52521d5

Please sign in to comment.