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
1 changed files with 1 additions and 1 deletions

View File

@ -7952,7 +7952,7 @@ static void print_nlmsghdr(const struct timeval *tv,
nlmsg->nlmsg_flags);
print_field("Sequence number: %u (0x%08x)",
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)