diff options
| author | Jeff Fowler <jeffowler@gmail.com> | 2017-11-09 17:35:35 +0100 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-11-09 11:35:35 -0500 |
| commit | 52521d5f67a2ff1290856e832f3f2a2a2245f41a (patch) | |
| tree | 2bcb8dc5448e99a3029c4b990bf11a72a5b8018a /std/os | |
| parent | 7ea669e04c9314f17ce296c7521ffec2ff8575e9 (diff) | |
| download | zig-52521d5f67a2ff1290856e832f3f2a2a2245f41a.tar.gz zig-52521d5f67a2ff1290856e832f3f2a2a2245f41a.zip | |
fix typo on darwin lseek (#602)
Diffstat (limited to 'std/os')
| -rw-r--r-- | std/os/darwin.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/os/darwin.zig b/std/os/darwin.zig index 718cfe56a9..229134cbbd 100644 --- a/std/os/darwin.zig +++ b/std/os/darwin.zig @@ -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 { |
