Skip to content

Commit 52521d5

Browse files
jfoandrewrk
authored andcommittedNov 9, 2017
fix typo on darwin lseek (#602)
·
0.15.20.2.0
1 parent 7ea669e commit 52521d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎std/os/darwin.zig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ pub fn fstat(fd: i32, buf: &c.stat) -> usize {
133133
}
134134

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.