summaryrefslogtreecommitdiff
path: root/lib/std/blat.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/blat.myr')
-rw-r--r--lib/std/blat.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/blat.myr b/lib/std/blat.myr
index c0e2b4b..f68f089 100644
--- a/lib/std/blat.myr
+++ b/lib/std/blat.myr
@@ -7,7 +7,7 @@ pkg std =
;;
const blat = {path, buf, perm
- match openmode(path, Ocreat|Owronly, perm)
+ match openmode(path, Ocreat|Owrite, perm)
| `Ok fd: -> fblat(fd, buf)
| `Err e: -> false
;;