diff options
author | Ori Bernstein <ori@eigenstate.org> | 2016-05-08 18:30:39 +1200 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2016-05-08 18:30:39 +1200 |
commit | ea6a106b2f1ed6748ea55f6f9730b4138ff0dbf8 (patch) | |
tree | 9f7b0ca17d5ff123e2ceabbfa2a540de8b32ad8b /lib/sys/sys+openbsd-x64.myr | |
parent | 0060152b535f0376265f0fe46bba45964fe1a8b0 (diff) | |
download | mc-ea6a106b2f1ed6748ea55f6f9730b4138ff0dbf8.tar.gz |
Use a correct implementation of pipe()
Diffstat (limited to 'lib/sys/sys+openbsd-x64.myr')
-rw-r--r-- | lib/sys/sys+openbsd-x64.myr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sys/sys+openbsd-x64.myr b/lib/sys/sys+openbsd-x64.myr index 3e97509..adfe6de 100644 --- a/lib/sys/sys+openbsd-x64.myr +++ b/lib/sys/sys+openbsd-x64.myr @@ -669,7 +669,7 @@ const __getcwd = {buf; -> syscall(Sys__getcwd, a(buf), a(buf.len))} const getdents = {fd, buf; -> syscall(Sysgetdents, a(buf), a(buf.len)) castto(int64)} /* file stuff */ -const pipe = {fds; -> __freebsd_pipe(fds)} +const pipe = {fds; -> syscall(Syspipe, fds)} const dup = {fd; -> syscall(Sysdup, a(fd)) castto(fd)} const dup2 = {src, dst; -> syscall(Sysdup2, a(src), a(dst)) castto(fd)} const fcntl = {fd, cmd, args; -> syscall(Sysfcntl, a(fd), a(cmd), a(args))} |