mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
netlink: fix typo
Change-Id: Ic4e44374945c925b880ba4058f795317f2816107 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -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)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user