summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-09-22 01:26:11 -0700
committerOri Bernstein <ori@eigenstate.org>2017-09-22 01:26:11 -0700
commit097d0aa9c3b22ed55d82bf4c0bab716942357ad6 (patch)
treea7dda780846d26fd519134b388cbb3123a408056 /lib
parent3a6ce7b6c6f83632d6083ffa37a59c88e49fe737 (diff)
downloadmc-097d0aa9c3b22ed55d82bf4c0bab716942357ad6.tar.gz
Missing an FD.
Diffstat (limited to 'lib')
-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)}