From 0e42d1bcd8446d52d839a3a76d6b53c3b55d8bac Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 24 Apr 2008 22:30:54 +0000 Subject: [PATCH] Our sockaddr_storage is only 128 bytes long. Hence invocations of bind() or connect() that passed sizeof(sockaddr_un) would always fail. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25138 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/sys/un.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/posix/sys/un.h b/headers/posix/sys/un.h index f0572396dc..55fcf7b2df 100644 --- a/headers/posix/sys/un.h +++ b/headers/posix/sys/un.h @@ -12,7 +12,7 @@ struct sockaddr_un { uint8_t sun_len; uint8_t sun_family; - char sun_path[128]; + char sun_path[126]; }; #endif /* _SYS_UN_H */