aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man7/unix.72
1 files changed, 1 insertions, 1 deletions
diff --git a/man7/unix.7 b/man7/unix.7
index 4a1b46a8f6..60570b9d0a 100644
--- a/man7/unix.7
+++ b/man7/unix.7
@@ -80,7 +80,7 @@ When the address of the socket is returned by
and
.BR accept (2),
its length is
-.IR "sizeof(sa_family_t) + strlen(sun_path) + 1" ,
+.IR "offsetof(struct sockaddr_un, sun_path) + strlen(sun_path) + 1" ,
and
.I sun_path
contains the null-terminated pathname.