summaryrefslogtreecommitdiff
path: root/libregex
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-17 16:39:58 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-17 16:39:58 -0700
commite93384f50f44d026b978b363eb107b14efeef3a1 (patch)
tree2139e55a80d3dd9dae51fbd1eada1f3f2e815ff1 /libregex
parent9fa7e376e33410e78fda13897bf8e0914f201ddf (diff)
downloadmc-e93384f50f44d026b978b363eb107b14efeef3a1.tar.gz
Fix missed 'fatal()' calls.
Diffstat (limited to 'libregex')
-rw-r--r--libregex/redump.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/libregex/redump.myr b/libregex/redump.myr
index bf52057..ea85d94 100644
--- a/libregex/redump.myr
+++ b/libregex/redump.myr
@@ -13,7 +13,7 @@ const main = {args
cmd = std.optparse(args, &opts)
match regex.dbgcompile(cmd.args[0])
| `std.Fail m:
- std.fatal(1, "unable to compile regex: %s\n", regex.failmsg(m))
+ std.fatal("unable to compile regex: %s\n", regex.failmsg(m))
| `std.Ok re:
if cmd.args.len > 1
runall(re, cmd.args)
@@ -33,7 +33,7 @@ const runall = {re, files
dump(re, fd)
bio.close(fd)
| `std.None:
- std.fatal(1, "failed to open %s\n", f)
+ std.fatal("failed to open %s\n", f)
;;
;;
}