netlink: fix typo
Change-Id: Ic4e44374945c925b880ba4058f795317f2816107 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
8851d3a7d3
commit
80c90399e6
@ -135,7 +135,7 @@
|
||||
#define NLMSG_NEXT(hdr,n) \
|
||||
((n) -= NLMSG_ALIGN((hdr)->nlmsg_len), \
|
||||
(FAR struct nlmsghdr*) \
|
||||
(((FAR cha r*)(hdr)) + NLMSG_ALIGN((hdr)->nlmsg_len)))
|
||||
(((FAR char*)(hdr)) + NLMSG_ALIGN((hdr)->nlmsg_len)))
|
||||
#define NLMSG_PAYLOAD(hdr, len) \
|
||||
((hdr)->nlmsg_len - NLMSG_SPACE((len)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user