3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 17:59:25 +01:00

monitor: pid_t is signed on Linux

This commit is contained in:
Denis Kenzior 2020-11-04 10:56:13 -06:00
parent 2a6690e50d
commit 62810ca3e7

View File

@ -7125,7 +7125,7 @@ static void print_nlmsghdr(const struct timeval *tv,
nlmsg->nlmsg_flags); nlmsg->nlmsg_flags);
print_field("Sequence number: %u (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: %u", nlmsg->nlmsg_pid); print_field("Port ID: %d", 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)