mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
freebsd: fix wrong call to clock_getres (#1871)
Reported-by: daurnimator
This commit is contained in:
parent
1f08be4d7f
commit
5f26d1dddb
@ -723,7 +723,7 @@ pub fn clock_gettime(clk_id: i32, tp: *timespec) usize {
|
||||
}
|
||||
|
||||
pub fn clock_getres(clk_id: i32, tp: *timespec) usize {
|
||||
return clock_gettime(clk_id, tp);
|
||||
return errnoWrap(c.clock_getres(clk_id, tp));
|
||||
}
|
||||
|
||||
pub fn setuid(uid: u32) usize {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user