---
cmd/thpd/main.ha | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/thpd/main.ha b/cmd/thpd/main.ha
index 07be64f..825ff2c 100644
--- a/cmd/thpd/main.ha
+++ b/cmd/thpd/main.ha
@@ -35,7 +35,7 @@ fn init_log() void = {
case true =>
const lfs = strings::concat(dirs::cache("thp"), "/thpd.log");
defer free(lfs);
- match(os::create(lfs, fs::mode::USER_RW, fs::flag::CREATE, fs::flag::WRONLY, fs::flag::APPEND)) {
+ match(os::create(lfs, fs::mode::USER_RW, fs::flag::CREATE | fs::flag::WRONLY | fs::flag::APPEND)) {
case let lf: io::file =>
thpd_log = alloc(log::new(lf));
case let e: fs::error =>
--
2.39.2