From 80c90399e6be4bafb6536f691fdf629418fd2c05 Mon Sep 17 00:00:00 2001 From: "chao.an" Date: Thu, 26 Mar 2020 16:48:12 +0800 Subject: [PATCH] netlink: fix typo Change-Id: Ic4e44374945c925b880ba4058f795317f2816107 Signed-off-by: chao.an --- include/netpacket/netlink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/netpacket/netlink.h b/include/netpacket/netlink.h index 271258f8d5a..24a57efb6ee 100644 --- a/include/netpacket/netlink.h +++ b/include/netpacket/netlink.h @@ -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)))