From cd0b59722f3b553da2e6a66ec0551671cf25670c Mon Sep 17 00:00:00 2001 From: Krzysztof Wolicki Date: Wed, 19 Jun 2024 10:32:09 +0200 Subject: [PATCH] Fix build.zig --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 887dd62..926570a 100644 --- a/build.zig +++ b/build.zig @@ -504,7 +504,7 @@ pub const InitializeDiskStep = struct { const stat = try file.stat(); if (stat.size > max_length) { - var realpath_buffer: [std.fs.MAX_PATH_BYTES]u8 = undefined; + var realpath_buffer: [std.fs.max_path_bytes]u8 = undefined; std.log.err("{s}: The file '{!s}' exceeds the size of the container. The file is {:.2} large, while the container only allows for {:.2}.", .{ context, dir.realpath(path, &realpath_buffer),