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

monitor: change Port ID to %u print

The port ID is a u32 so print with %u rather than %d
This commit is contained in:
James Prestwood 2022-09-30 16:28:09 -07:00 committed by Denis Kenzior
parent 47e11dea58
commit 615e57c289

View File

@ -7952,7 +7952,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: %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)