summaryrefslogtreecommitdiff
path: root/aout.myr
diff options
context:
space:
mode:
Diffstat (limited to 'aout.myr')
-rw-r--r--aout.myr7
1 files changed, 3 insertions, 4 deletions
diff --git a/aout.myr b/aout.myr
index 579f47b..15a9c4f 100644
--- a/aout.myr
+++ b/aout.myr
@@ -33,10 +33,9 @@ const magic = {arch
const wstr = {f, s; check(bio.write(f, s))}
const w32 = {f, v : uint32; check(bio.putbe32(f, v))}
-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)
;;
}