summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2560.c
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2008-12-22 18:20:48 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2008-12-22 18:20:48 +0000
commitd8f332fe7fbe267f247739c03d031eea2627bd49 (patch)
treebb8c101692b434dfbb30dd65b4e96b2b833c0f30 /sys/dev/ic/rt2560.c
parent89d7d31a1faa8d3884bd84ea40f859e199e767e4 (diff)
I swapped MGETHDR arguments in my m_defrag removal commit.
Diffstat (limited to 'sys/dev/ic/rt2560.c')
-rw-r--r--sys/dev/ic/rt2560.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2560.c b/sys/dev/ic/rt2560.c
index e24147275e5..7fc917a5dc1 100644
--- a/sys/dev/ic/rt2560.c
+++ b/sys/dev/ic/rt2560.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2560.c,v 1.41 2008/12/21 18:19:58 damien Exp $ */
+/* $OpenBSD: rt2560.c,v 1.42 2008/12/22 18:20:47 damien Exp $ */
/*-
* Copyright (c) 2005, 2006
@@ -1828,7 +1828,7 @@ rt2560_tx_data(struct rt2560_softc *sc, struct mbuf *m0,
}
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;