summaryrefslogtreecommitdiff
path: root/lib/std/syswrap+plan9.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-08-30 01:00:57 -0700
committerOri Bernstein <ori@eigenstate.org>2017-08-30 01:00:57 -0700
commite363cc6bdebc37d56a27cd4fc3d9b03db4c2d6d6 (patch)
tree062a111e5d865f2eeab7020849c9fcd112cefaee /lib/std/syswrap+plan9.myr
parenta367763275faf9bbda3196f58998e9e74484a9a0 (diff)
downloadmc-e363cc6bdebc37d56a27cd4fc3d9b03db4c2d6d6.tar.gz
Fix some straggling Ordonly
Diffstat (limited to 'lib/std/syswrap+plan9.myr')
-rw-r--r--lib/std/syswrap+plan9.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/syswrap+plan9.myr b/lib/std/syswrap+plan9.myr
index e4a04ba..9f0ccc9 100644
--- a/lib/std/syswrap+plan9.myr
+++ b/lib/std/syswrap+plan9.myr
@@ -27,8 +27,8 @@ pkg std =
const Failmem : byte# = (-1 : byte#)
- const Oread : fdopt = (sys.Ordonly : fdopt)
- const Owrite : fdopt = (sys.Owronly : fdopt)
+ const Oread : fdopt = (sys.Oread : fdopt)
+ const Owrite : fdopt = (sys.Owrite : fdopt)
const Ordwr : fdopt = (sys.Ordwr : fdopt)
const Otrunc : fdopt = (sys.Otrunc : fdopt)
const Ocexec : fdopt = (sys.Ocexec : fdopt)
@@ -198,7 +198,7 @@ const chdir = {path; -> sys.chdir(path) == 0}
const mkdir = {path, mode;
var fd
- fd = sys.create(path, sys.Ordonly, sys.Dmdir | (mode : int))
+ fd = sys.create(path, sys.Oread, sys.Dmdir | (mode : int))
if fd < 0
-> lasterr()
;;