mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 22:01:47 +00:00
chore: fix windows debug build (#19406)
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user