[AF_UNIX] Update AF_UNIX bind, connect entry (#8314)

This commit is contained in:
rcitachi
2023-12-02 12:11:01 +08:00
committed by GitHub
parent d1a1a42ef5
commit 58665c7f50
2 changed files with 40 additions and 22 deletions
+1 -2
View File
@@ -186,8 +186,7 @@ struct sockaddr
/* Structure describing the address of an AF_LOCAL (aka AF_UNIX) socket. */
struct sockaddr_un
{
uint8_t sa_len;
sa_family_t sa_family;
unsigned short sa_family;
char sun_path[108]; /* Path name. */
};