summaryrefslogtreecommitdiff
path: root/elf.myr
diff options
context:
space:
mode:
Diffstat (limited to 'elf.myr')
-rw-r--r--elf.myr7
1 files changed, 3 insertions, 4 deletions
diff --git a/elf.myr b/elf.myr
index fd6fda3..1dcc7a5 100644
--- a/elf.myr
+++ b/elf.myr
@@ -119,10 +119,9 @@ const pad = {f, n
;;
}
-generic check = {st : bio.status(@a)
+generic check = {st
match st
- | `bio.Ok _: /* nothing */
- | `bio.Err e: std.fatal("i/o error: {}\n", e)
- | `bio.Eof: std.fatal("i/o error: eof\n")
+ | `std.Ok _: /* nothing */
+ | `std.Err e: std.fatal("i/o error: {}\n", e)
;;
}