summaryrefslogtreecommitdiff
path: root/lib/std/slurp.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/slurp.myr')
-rw-r--r--lib/std/slurp.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/slurp.myr b/lib/std/slurp.myr
index a966e4a..8e653f9 100644
--- a/lib/std/slurp.myr
+++ b/lib/std/slurp.myr
@@ -15,7 +15,7 @@ const Bufstart = 4096
const slurp = {path
var sl
- match open(path, Ordonly)
+ match open(path, Oread)
| `Err e: -> `Err e
| `Ok fd:
sl = fslurp(fd)