diff mbox series

[55/66] bsd-user: Convert TARGET_SO_SNDLOWAT to SO_SNDLOWAT not SO_RCVLOWAT

Message ID 20260515-misc-2026q2-v1-55-5438ca41b27a@bsdimp.com
State New
Headers show
Series bsd-user: Upstream most of the remaining system calls | expand

Commit Message

Warner Losh May 15, 2026, 9:19 p.m. UTC
Signed-off-by: Warner Losh <imp@bsdimp.com>
---
 bsd-user/freebsd/os-socket.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/bsd-user/freebsd/os-socket.h b/bsd-user/freebsd/os-socket.h
index 05c22f2f0c..01ef5912db 100644
--- a/bsd-user/freebsd/os-socket.h
+++ b/bsd-user/freebsd/os-socket.h
@@ -331,7 +331,7 @@  static inline abi_long do_bsd_setsockopt(int sockfd, int level, int optname,
             break;
 
         case TARGET_SO_SNDLOWAT:
-            optname = SO_RCVLOWAT;
+            optname = SO_SNDLOWAT;
             break;
 
         case TARGET_SO_RCVLOWAT: