git: 2711d4345e87 - main - netlink: fix debug message on 32-bit archs

From: Alexander V. Chernikov <melifaro_at_FreeBSD.org>
Date: Fri, 28 Apr 2023 15:47:16 UTC
The branch main has been updated by melifaro:

URL: https://cgit.FreeBSD.org/src/commit/?id=2711d4345e87af0412641936984a3d73505fb525

commit 2711d4345e87af0412641936984a3d73505fb525
Author:     Alexander V. Chernikov <melifaro@FreeBSD.org>
AuthorDate: 2023-04-28 15:47:11 +0000
Commit:     Alexander V. Chernikov <melifaro@FreeBSD.org>
CommitDate: 2023-04-28 15:47:11 +0000

    netlink: fix debug message on 32-bit archs
---
 sys/netlink/netlink_io.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/netlink/netlink_io.c b/sys/netlink/netlink_io.c
index db0a97eef0fd..9f5ecf63a07d 100644
--- a/sys/netlink/netlink_io.c
+++ b/sys/netlink/netlink_io.c
@@ -158,7 +158,8 @@ nl_add_msg_info(struct mbuf *m)
 	m->m_next = sbcreatecontrol(data, sizeof(data),
 	    NETLINK_MSG_INFO, SOL_NETLINK, M_NOWAIT);
 
-	NL_LOG(LOG_DEBUG2, "Storing %lu bytes of data, ctl: %p", sizeof(data), m->m_next);
+	NL_LOG(LOG_DEBUG2, "Storing %u bytes of data, ctl: %p",
+	    (unsigned)sizeof(data), m->m_next);
 }
 
 static __noinline struct mbuf *