diff options
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/connector/ucon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/connector/ucon.c b/Documentation/connector/ucon.c index 4848db8c71ff..8a4da64e02a8 100644 --- a/Documentation/connector/ucon.c +++ b/Documentation/connector/ucon.c | |||
| @@ -71,7 +71,7 @@ static int netlink_send(int s, struct cn_msg *msg) | |||
| 71 | nlh->nlmsg_seq = seq++; | 71 | nlh->nlmsg_seq = seq++; |
| 72 | nlh->nlmsg_pid = getpid(); | 72 | nlh->nlmsg_pid = getpid(); |
| 73 | nlh->nlmsg_type = NLMSG_DONE; | 73 | nlh->nlmsg_type = NLMSG_DONE; |
| 74 | nlh->nlmsg_len = NLMSG_LENGTH(size - sizeof(*nlh)); | 74 | nlh->nlmsg_len = size; |
| 75 | nlh->nlmsg_flags = 0; | 75 | nlh->nlmsg_flags = 0; |
| 76 | 76 | ||
| 77 | m = NLMSG_DATA(nlh); | 77 | m = NLMSG_DATA(nlh); |
