Skip to content

Commit

Permalink
Update sys.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Dec 12, 2024
1 parent 66d5c4d commit 1c0c62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys.zig
Original file line number Diff line number Diff line change
Expand Up @@ -2372,7 +2372,7 @@ pub fn socketpair(domain: socketpair_t, socktype: socketpair_t, protocol: socket
while (true) {
const nonblock_flag: i32 = if (nonblocking_status == .nonblocking) linux.SOCK.NONBLOCK else 0;
const rc = std.os.linux.socketpair(domain, socktype | linux.SOCK.CLOEXEC | nonblock_flag, protocol, &fds_i);
if (Maybe(void).errnoSys(rc, .socketpair)) |err| {
if (Maybe([2]bun.FileDescriptor).errnoSys(rc, .socketpair)) |err| {
if (err.getErrno() == .INTR) continue;

log("socketpair() = {d} {s}", .{ err.err.errno, err.err.name() });
Expand Down

0 comments on commit 1c0c62f

Please sign in to comment.