fix typo on darwin lseek (#602)

This commit is contained in:
Jeff Fowler 2017-11-09 17:35:35 +01:00 committed by Andrew Kelley
parent 7ea669e04c
commit 52521d5f67

View File

@ -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 {