3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-29 05:39:24 +01:00

monitor: nlmsg attributes are unsigned

This commit is contained in:
Denis Kenzior 2019-07-23 07:41:53 -05:00
parent d63f73adf9
commit e0eb824fe3

View File

@ -6091,11 +6091,11 @@ static void print_nlmsghdr(const struct timeval *tv,
print_packet(tv, out ? '<' : '>', COLOR_YELLOW, "RTNL", str, extra_str); print_packet(tv, out ? '<' : '>', COLOR_YELLOW, "RTNL", str, extra_str);
print_field("Flags: %d (0x%03x)", nlmsg->nlmsg_flags, print_field("Flags: %hu (0x%03x)", nlmsg->nlmsg_flags,
nlmsg->nlmsg_flags); nlmsg->nlmsg_flags);
print_field("Sequence number: %d (0x%08x)", print_field("Sequence number: %u (0x%08x)",
nlmsg->nlmsg_seq, nlmsg->nlmsg_seq); nlmsg->nlmsg_seq, nlmsg->nlmsg_seq);
print_field("Port ID: %d", nlmsg->nlmsg_pid); print_field("Port ID: %u", nlmsg->nlmsg_pid);
} }
static void print_nlmsg(const struct timeval *tv, const struct nlmsghdr *nlmsg) static void print_nlmsg(const struct timeval *tv, const struct nlmsghdr *nlmsg)