summaryrefslogtreecommitdiff
path: root/lib/sys/sys+openbsd:6.2-x64.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys/sys+openbsd:6.2-x64.myr')
-rw-r--r--lib/sys/sys+openbsd:6.2-x64.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sys/sys+openbsd:6.2-x64.myr b/lib/sys/sys+openbsd:6.2-x64.myr
index 4fb5bc0..ca0ed6a 100644
--- a/lib/sys/sys+openbsd:6.2-x64.myr
+++ b/lib/sys/sys+openbsd:6.2-x64.myr
@@ -1133,7 +1133,7 @@ pkg sys =
generic ioctl = {fd, req, arg; -> (syscall(Sysioctl, a(fd), a(req), a(arg)) : int64)}
const chdir = {dir; -> syscall(Syschdir, cstring(dir))}
const __getcwd = {buf; -> syscall(Sys__getcwd, a(buf), a(buf.len))}
- const getdents = {fd, buf; -> (syscall(Sysgetdents, a(buf), a(buf.len)) : int64)}
+ const getdents = {fd, buf; -> (syscall(Sysgetdents, a(fd), a(buf), a(buf.len)) : int64)}
/* signals */
const sigaction = {sig, act, oact; -> (syscall(Syssigaction, a(sig), a(act), a(oact)) : int)}