Fix missing return statement

This commit is contained in:
flysand7
2023-11-10 08:30:38 +11:00
parent ce43b04688
commit 851fd1f8d1
+1
View File
@@ -2186,6 +2186,7 @@ time :: proc "contextless" (tloc: ^uint) -> (Errno) {
ts: Time_Spec
ret := syscall(SYS_clock_gettime, Clock_Id.REALTIME, ts)
tloc^ = ts.time_sec
return Errno(-ret)
}
}