From 330a4744de80c3229ae65787cd80c6cae8ea5ac2 Mon Sep 17 00:00:00 2001 From: "Tiramify (A.K. Daniel)" <94789999+TiranexDev@users.noreply.github.com> Date: Fri, 2 Feb 2024 01:31:54 +0000 Subject: [PATCH] chore: fix compiling fd.zig on linux (#8630) --- src/fd.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fd.zig b/src/fd.zig index 7bfe837cf0..a1ade3c6ef 100644 --- a/src/fd.zig +++ b/src/fd.zig @@ -312,7 +312,7 @@ pub const FDImpl = packed struct { const fd = this.system(); try writer.print("{d}", .{fd}); if (env.isDebug and fd >= 3) print_with_path: { - var path_buf: [1024]u8 = undefined; + var path_buf: bun.PathBuffer = undefined; const path = std.os.getFdPath(fd, &path_buf) catch break :print_with_path; try writer.print("[{s}]", .{path}); }