summaryrefslogtreecommitdiff
path: root/lib/std/syswrap-ss+plan9.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/syswrap-ss+plan9.myr')
-rw-r--r--lib/std/syswrap-ss+plan9.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/syswrap-ss+plan9.myr b/lib/std/syswrap-ss+plan9.myr
index 96a2973..58a751a 100644
--- a/lib/std/syswrap-ss+plan9.myr
+++ b/lib/std/syswrap-ss+plan9.myr
@@ -22,7 +22,7 @@ const nanosleep = {nsecs
const bgetcwd = {buf
var fd
- fd = sys.open(".", sys.Ordonly)
+ fd = sys.open(".", sys.Oread)
if fd < 0
-> (fd : errno)
;;