summaryrefslogtreecommitdiff
path: root/Kernel/API/POSIX
diff options
context:
space:
mode:
authorPeter Elliott <pelliott@ualberta.ca>2022-05-07 12:25:42 -0600
committerAndreas Kling <kling@serenityos.org>2022-05-23 00:13:26 +0200
commit1c86678a641c1dd2eaeb399a3495898fe30a5b42 (patch)
treeceb9c6925797a2b85ef1aac8641ccc0e2dc1bfef /Kernel/API/POSIX
parent3f0be4e9ea637b97f8f1e13e83d50ebbf34edaa5 (diff)
downloadserenity-1c86678a641c1dd2eaeb399a3495898fe30a5b42.zip
Kernel: Change values of SHUT_{RD,WR,RDWR}
For some reason, guile requires these to be specific values.
Diffstat (limited to 'Kernel/API/POSIX')
-rw-r--r--Kernel/API/POSIX/sys/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/API/POSIX/sys/socket.h b/Kernel/API/POSIX/sys/socket.h
index f1c771b575..b13cebeb83 100644
--- a/Kernel/API/POSIX/sys/socket.h
+++ b/Kernel/API/POSIX/sys/socket.h
@@ -37,9 +37,9 @@ extern "C" {
#define SOCK_NONBLOCK 04000
#define SOCK_CLOEXEC 02000000
-#define SHUT_RD 1
-#define SHUT_WR 2
-#define SHUT_RDWR 3
+#define SHUT_RD 0
+#define SHUT_WR 1
+#define SHUT_RDWR 2
#define IPPROTO_IP 0
#define IPPROTO_ICMP 1