diff options
author | Kevin Lo <kevlo@cvs.openbsd.org> | 2019-09-25 09:30:29 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@cvs.openbsd.org> | 2019-09-25 09:30:29 +0000 |
commit | 651b11edbec32d256fac9220ad497ca17479de45 (patch) | |
tree | 86af66633c9746739da288b333436317c58a5077 /sys/dev/ic | |
parent | 95a2391ec92607fa8730813fa944618b00306ab5 (diff) |
Argument order fix for MCLGETI.
ok claudio@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/ti.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ti.c b/sys/dev/ic/ti.c index f66162f5f09..43653ca6631 100644 --- a/sys/dev/ic/ti.c +++ b/sys/dev/ic/ti.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ti.c,v 1.25 2017/01/22 10:17:38 dlg Exp $ */ +/* $OpenBSD: ti.c,v 1.26 2019/09/25 09:30:28 kevlo Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -576,7 +576,7 @@ ti_newbuf_std(struct ti_softc *sc, int i, struct mbuf *m, sc->ti_cdata.ti_rx_std_map[i] = dmamap; if (m == NULL) { - m_new = MCLGETI(NULL, MCLBYTES, NULL, M_DONTWAIT); + m_new = MCLGETI(NULL, M_DONTWAIT, NULL, MCLBYTES); if (m_new == NULL) return (ENOBUFS); @@ -695,7 +695,7 @@ ti_newbuf_jumbo(struct ti_softc *sc, int i, struct mbuf *m, bus_dmamap_unload(sc->sc_dmatag, dmamap); if (m == NULL) { - m_new = MCLGETI(NULL, TI_JUMBO_FRAMELEN, NULL, M_DONTWAIT); + m_new = MCLGETI(NULL, M_DONTWAIT, NULL, TI_JUMBO_FRAMELEN); if (m_new == NULL) return (ENOBUFS); |