diff --git a/src/sys.zig b/src/sys.zig index 2ae5ba8702..f7b9b3e01b 100644 --- a/src/sys.zig +++ b/src/sys.zig @@ -1397,7 +1397,7 @@ pub fn openFileAtWindowsNtPath( bun.Output.debugWarn("NtCreateFile({}, {}) = {s} (file) = {d}\nYou are calling this function without normalizing the path correctly!!!", .{ dir, bun.fmt.utf16(path), @tagName(rc), @intFromPtr(result) }); } else { if (rc == .SUCCESS) { - log("NtCreateFile({}, {}) = {s} (file) = {}", .{ dir, bun.fmt.utf16(path), @tagName(rc), bun.toFD(result) }); + log("NtCreateFile({}, {}) = {s} (file) = {}", .{ dir, bun.fmt.utf16(path), @tagName(rc), bun.FD.fromNative(result) }); } else { log("NtCreateFile({}, {}) = {s} (file) = {}", .{ dir, bun.fmt.utf16(path), @tagName(rc), rc }); }