Logically, this is SCM_TIMEOUT, not SO_TIMEOUT. No change in behavior,
however, since these values are the same.

Signed-off-by: Warner Losh <[email protected]>
---
 bsd-user/freebsd/os-socket.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bsd-user/freebsd/os-socket.c b/bsd-user/freebsd/os-socket.c
index 543c9c10a6..41e40d2913 100644
--- a/bsd-user/freebsd/os-socket.c
+++ b/bsd-user/freebsd/os-socket.c
@@ -186,7 +186,7 @@ abi_long h2t_freebsd_cmsg(struct target_msghdr *target_msgh,
                 }
                 break;
             }
-            case SO_TIMESTAMP:
+            case SCM_TIMESTAMP:
             {
                 struct timeval *tv = (struct timeval *)data;
                 struct target_freebsd_timeval *target_tv =

-- 
2.52.0


Reply via email to