summaryrefslogtreecommitdiff
path: root/lib/std/dir+osx.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/dir+osx.myr')
-rw-r--r--lib/std/dir+osx.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/dir+osx.myr b/lib/std/dir+osx.myr
index cc3e1a3..9992787 100644
--- a/lib/std/dir+osx.myr
+++ b/lib/std/dir+osx.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