fix: add missing Io parameter for different configuration option
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 1m0s

This commit is contained in:
2026-01-06 23:05:51 +01:00
parent e813a3e195
commit 4147c47f7e

View File

@@ -25,7 +25,7 @@ fn logFn(
}, 0o600) catch @panic("Could not append to log file"); }, 0o600) catch @panic("Could not append to log file");
defer std.posix.close(fd); defer std.posix.close(fd);
var buffer = std.Io.File.Writer.init(.{ .handle = fd }, &buf); var buffer = std.Io.File.Writer.init(.{ .handle = fd }, std.debug.debug_threaded_io, &buf);
var writer = &buffer.interface; var writer = &buffer.interface;
defer writer.flush() catch unreachable; defer writer.flush() catch unreachable;