zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 52521d5f67a2ff1290856e832f3f2a2a2245f41a (tree)
parent 7ea669e04c9314f17ce296c7521ffec2ff8575e9
Author: Jeff Fowler <jeffowler@gmail.com>
Date:   Thu,  9 Nov 2017 17:35:35 +0100

fix typo on darwin lseek (#602)


Diffstat:
Mstd/os/darwin.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 {