summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
Diffstat (limited to 'mbld')
-rw-r--r--mbld/test.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbld/test.myr b/mbld/test.myr
index 292cc58..62cd89c 100644
--- a/mbld/test.myr
+++ b/mbld/test.myr
@@ -75,7 +75,7 @@ const runtest = {b, n, failed
std.fatal("\nunable to run test: {}\n", m)
| `std.Ok (pid, infd, outfd):
log = std.strcat(std.basename(n.lbl), ".log")
- logfd = std.try(std.openmode(log, std.Owronly | std.Ocreat, 0o644))
+ logfd = std.try(std.openmode(log, std.Owrite | std.Ocreat, 0o644))
sub = showsub(b, n.lbl, outfd, logfd, failed)
std.slfree(log)
std.close(infd)