summaryrefslogtreecommitdiff
path: root/lib/std/dir+plan9.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/dir+plan9.myr')
-rw-r--r--lib/std/dir+plan9.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/dir+plan9.myr b/lib/std/dir+plan9.myr
index e363662..82e301f 100644
--- a/lib/std/dir+plan9.myr
+++ b/lib/std/dir+plan9.myr
@@ -26,7 +26,7 @@ const diropen = {p
var fd
var dir
- match open(p, Ordonly)
+ match open(p, Oread)
| `Ok f: fd = f
| `Err e: -> `Err "couldn't open directory"
;;