From 615e57c2896cd9361896d0a704935c626af1f1b2 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Fri, 30 Sep 2022 16:28:09 -0700 Subject: [PATCH] monitor: change Port ID to %u print The port ID is a u32 so print with %u rather than %d --- monitor/nlmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/nlmon.c b/monitor/nlmon.c index 5ae014e4..2e232130 100644 --- a/monitor/nlmon.c +++ b/monitor/nlmon.c @@ -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)