diff options
author | 2022-01-25 20:04:24 -0800 | |
---|---|---|
committer | 2022-01-25 20:04:24 -0800 | |
commit | bfa2bc67365f7382f0946f1804677e97cb9f6975 (patch) | |
tree | 6ff1b685a90a6f5b9f31d6754a41bb74e11f82d9 /src/io/io_linux.zig | |
parent | 354ed2880cd3b54c6a56d040fe7a8032ebe3aeb1 (diff) | |
download | bun-bfa2bc67365f7382f0946f1804677e97cb9f6975.tar.gz bun-bfa2bc67365f7382f0946f1804677e97cb9f6975.tar.zst bun-bfa2bc67365f7382f0946f1804677e97cb9f6975.zip |
merge
Diffstat (limited to 'src/io/io_linux.zig')
-rw-r--r-- | src/io/io_linux.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/io_linux.zig b/src/io/io_linux.zig index 8e0a64f7d..eeb2352f8 100644 --- a/src/io/io_linux.zig +++ b/src/io/io_linux.zig @@ -1565,7 +1565,7 @@ const Syscall = struct { }; pub fn openSocket(family: u32, sock_type: u32, protocol: u32) !os.socket_t { - return Syscall.socket(family, sock_type | os.O.NONBLOCK | os.O.CLOEXEC, protocol); + return Syscall.socket(family, sock_type | os.O.NONBLOCK | os.SOCK.CLOEXEC, protocol); } pub var global: IO = undefined; |