From d8f332fe7fbe267f247739c03d031eea2627bd49 Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Mon, 22 Dec 2008 18:20:48 +0000 Subject: I swapped MGETHDR arguments in my m_defrag removal commit. --- sys/dev/pci/if_iwi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_iwi.c') diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c index c6d9986a66a..145ccaceb9d 100644 --- a/sys/dev/pci/if_iwi.c +++ b/sys/dev/pci/if_iwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwi.c,v 1.97 2008/12/21 18:19:58 damien Exp $ */ +/* $OpenBSD: if_iwi.c,v 1.98 2008/12/22 18:20:47 damien Exp $ */ /*- * Copyright (c) 2004-2008 @@ -1300,7 +1300,7 @@ iwi_tx_start(struct ifnet *ifp, struct mbuf *m0, struct ieee80211_node *ni) } if (error != 0) { /* too many fragments, linearize */ - MGETHDR(m1, MT_DATA, M_DONTWAIT); + MGETHDR(m1, M_DONTWAIT, MT_DATA); if (m1 == NULL) { m_freem(m0); return ENOBUFS; -- cgit v1.2.3