aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_unix.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-11-27 09:09:03 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-11-27 09:09:03 +0100
commit502d78153c51e6e1d118de6188be6a2e05dc8b81 (patch)
tree7433db83f377686eac2a4659db32ae6baa1e1090 /sys/linux/socket_unix.txt
parent473d90487bd18f55b035887093e17b4a0ccc3b52 (diff)
sys/linux: fix control len in msghdr's
Contol len is in bytes, not array elements.
Diffstat (limited to 'sys/linux/socket_unix.txt')
-rw-r--r--sys/linux/socket_unix.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/socket_unix.txt b/sys/linux/socket_unix.txt
index 7d0f90751..5dfe049ca 100644
--- a/sys/linux/socket_unix.txt
+++ b/sys/linux/socket_unix.txt
@@ -52,7 +52,7 @@ msghdr_un {
vec ptr[in, array[iovec_in]]
vlen len[vec, intptr]
ctrl ptr[in, array[cmsghdr_un], opt]
- ctrllen len[ctrl, intptr]
+ ctrllen bytesize[ctrl, intptr]
f flags[send_flags, int32]
}