diff --git a/core/sys/linux/sys.odin b/core/sys/linux/sys.odin index 3567d3526..9ffca616c 100644 --- a/core/sys/linux/sys.odin +++ b/core/sys/linux/sys.odin @@ -2184,7 +2184,7 @@ time :: proc "contextless" (tloc: ^uint) -> (Errno) { return Errno(-ret) } else { ts: Time_Spec - ret := syscall(SYS_clock_gettime, Clock_Id.REALTIME, ts) + ret := syscall(SYS_clock_gettime, Clock_Id.REALTIME, &ts) tloc^ = ts.time_sec return Errno(-ret) }