diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2009-03-02 23:52:19 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2009-03-02 23:52:19 +0000 |
commit | ac38d61f75d218888cd57fdfbed3cf8dc21173a4 (patch) | |
tree | e1b0dc970a5e81f85a8bacd3bb2ccae7bde23cc8 /sys/kern/uipc_mbuf.c | |
parent | 9d86437f7200f12792429a76e64904af3cb3ad53 (diff) |
the packet length passed to m_clget is a u_int, print it with %u not %d in
the panic string.
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)) |