summaryrefslogtreecommitdiff
path: root/mbld/main.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/main.myr')
-rw-r--r--mbld/main.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbld/main.myr b/mbld/main.myr
index 7fbf996..af1517a 100644
--- a/mbld/main.myr
+++ b/mbld/main.myr
@@ -75,7 +75,7 @@ const main = {args : byte[:][:]
match regex.compile("^\\s*use\\s+((\\<\\S+\\>)|(\"(\\S+)\")).*")
| `std.Ok re: bld.usepat = re
- | `std.Fail f: std.fatal(1, "Failed to compile use pattern regex\n")
+ | `std.Fail f: std.fatal("Failed to compile use pattern regex\n")
;;
b = mkbuild()
@@ -133,7 +133,7 @@ const mkbuild = {
const findproj = {b, bldfile
if !findbase(b, bldfile) || !std.chdir(b.basedir)
- std.fatal(1, "could not find %s\n", bldfile)
+ std.fatal("could not find %s\n", bldfile)
;;
bld.setdir(b, "")
}