From cc185d98b4fda0f9c8dcd87ffb2810d73e801b58 Mon Sep 17 00:00:00 2001 From: flysand7 Date: Sun, 18 Feb 2024 23:04:41 +1100 Subject: [PATCH] [sys/linux]: Fix numeric values for socket fd flags --- core/sys/linux/bits.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sys/linux/bits.odin b/core/sys/linux/bits.odin index 8b7de5d5e..ad519e1cd 100644 --- a/core/sys/linux/bits.odin +++ b/core/sys/linux/bits.odin @@ -944,8 +944,8 @@ Socket_Type :: enum { Bits for Socket_FD_Flags */ Socket_FD_Flags_Bits :: enum { - NONBLOCK = 14, - CLOEXEC = 25, + NONBLOCK = 11, + CLOEXEC = 19, } /*