diff --git a/man7/netlink.7 b/man7/netlink.7 index 9993a5c96..a13987cac 100644 --- a/man7/netlink.7 +++ b/man7/netlink.7 @@ -533,7 +533,8 @@ And the last example is about reading netlink message. .in +4n .nf int len; -char buf[8192]; +char buf[8192]; /* 8192 to avoid message truncation on + platforms with page size > 4096 */ struct iovec iov = { buf, sizeof(buf) }; struct sockaddr_nl sa; struct msghdr msg;