netlink: fix typo

Change-Id: Ic4e44374945c925b880ba4058f795317f2816107
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2020-03-26 16:48:12 +08:00 committed by Alin Jerpelea
parent 8851d3a7d3
commit 80c90399e6
1 changed files with 1 additions and 1 deletions

View File

@ -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)))