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