commit 615e57c2896cd9361896d0a704935c626af1f1b2
parent 47e11dea58fb2f2eab49cfb4f9630274fc424ae2
Author: James Prestwood <prestwoj@gmail.com>
Date: Fri, 30 Sep 2022 16:28:09 -0700
monitor: change Port ID to %u print
The port ID is a u32 so print with %u rather than %d
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)