summaryrefslogtreecommitdiff
path: root/lib/std/dir+freebsd.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-08-27 15:55:36 -0700
committerOri Bernstein <ori@eigenstate.org>2016-08-27 15:55:36 -0700
commite83d16d5bd500b8e1913a836560f943a757ab86b (patch)
treeed88a93da5185122d16eec51086a053f0910b9a0 /lib/std/dir+freebsd.myr
parent6121d28dc28103cb85b22fe404daaa8c441790b4 (diff)
downloadmc-e83d16d5bd500b8e1913a836560f943a757ab86b.tar.gz
Rename `std.Fail to `std.Err.
Diffstat (limited to 'lib/std/dir+freebsd.myr')
-rw-r--r--lib/std/dir+freebsd.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/dir+freebsd.myr b/lib/std/dir+freebsd.myr
index 1177f2b..8d1c13f 100644
--- a/lib/std/dir+freebsd.myr
+++ b/lib/std/dir+freebsd.myr
@@ -28,7 +28,7 @@ const diropen = {p
fd = sys.open(p, sys.Ordonly | sys.Odir)
if fd < 0
- -> `Fail "couldn't open directory"
+ -> `Err "couldn't open directory"
;;
dir = zalloc()
dir.fd = fd