From ac38d61f75d218888cd57fdfbed3cf8dc21173a4 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Mon, 2 Mar 2009 23:52:19 +0000 Subject: the packet length passed to m_clget is a u_int, print it with %u not %d in the panic string. --- sys/kern/uipc_mbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 200ec1dfa3c..1d12b78d771 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_mbuf.c,v 1.118 2009/02/09 21:36:10 claudio Exp $ */ +/* $OpenBSD: uipc_mbuf.c,v 1.119 2009/03/02 23:52:18 dlg Exp $ */ /* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */ /* @@ -393,7 +393,7 @@ m_clget(struct mbuf *m, int how, struct ifnet *ifp, u_int pktlen) pi = m_clpool(pktlen); #ifdef DIAGNOSTIC if (pi == -1) - panic("m_clget: request for %d sized cluster", pktlen); + panic("m_clget: request for %u byte cluster", pktlen); #endif if (ifp != NULL && m_cldrop(ifp, pi)) -- cgit v1.2.3