netlink: fix debug message on 32-bit archs

This commit is contained in:
Alexander V. Chernikov 2023-04-28 15:47:11 +00:00
parent bc8dc48437
commit 2711d4345e

View File

@ -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 *