commit 78a99de582d50d867624550033c33f4c134730da parent 75dc3079979d555a9f26b4629976207a4b90c219 Author: Drew DeVault <sir@cmpwn.com> Date: Sun, 28 Aug 2022 15:21:55 +0200 rt::sleep: this sycall always succeeds Diffstat:
M | rt/+linux/syscalls.ha | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rt/+linux/syscalls.ha b/rt/+linux/syscalls.ha @@ -834,6 +834,6 @@ export fn ptrace( }; }; -export fn sync() (void | errno) = { - wrap_return(syscall0(SYS_sync))?; +export fn sync() void = { + wrap_return(syscall0(SYS_sync))!; };