summaryrefslogtreecommitdiff
path: root/mbld/install.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/install.myr')
-rw-r--r--mbld/install.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbld/install.myr b/mbld/install.myr
index 0cf6d1f..8d6fbeb 100644
--- a/mbld/install.myr
+++ b/mbld/install.myr
@@ -68,7 +68,7 @@ const movefile = {b, rm, dir, file, prefix, perm
std.put("\t%s => %s\n", file, path)
std.remove(path)
match std.slurp(file)
- | `std.Fail m: std.fatal(1, "Could not open %s for reading\n", file)
+ | `std.Fail m: std.fatal("Could not open %s for reading\n", file)
| `std.Ok buf:
if !std.blat(path, buf, perm)
std.put("Could not write %s\n", file)
@@ -84,11 +84,11 @@ const moveman = {b, rm, dir, man
match std.strrfind(man, ".")
| `std.None:
- std.fatal(1, "manpage %s has no section\n", man)
+ std.fatal("manpage %s has no section\n", man)
| `std.Some s:
sect = s + 1
if s + 1 == man.len
- std.fatal(1, "manpage %s missing suffix\n", man)
+ std.fatal("manpage %s missing suffix\n", man)
;;
;;