diff options
| author | flysand7 <yyakut.ac@gmail.com> | 2023-11-10 08:32:43 +1100 |
|---|---|---|
| committer | flysand7 <yyakut.ac@gmail.com> | 2023-11-10 08:32:49 +1100 |
| commit | 4e145cf69c151a87ad2f2a1e34bf96cf2a70b52e (patch) | |
| tree | fe66062435f43eee88aa71f81c39fb99d30395c4 /core/sys/linux | |
| parent | 341087a82bf09f020fb60f580391dd02cce7bb4c (diff) | |
[sys/linux]: Fix time(2) syscall not taking a pointer on ARM64
Diffstat (limited to 'core/sys/linux')
| -rw-r--r-- | core/sys/linux/sys.odin | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |