aboutsummaryrefslogtreecommitdiff
path: root/src/io/io_linux.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/io_linux.zig')
-rw-r--r--src/io/io_linux.zig2
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;