diff options
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r-- | sys/dev/pcmcia/if_cnw.c | 4 | ||||
-rw-r--r-- | sys/dev/pcmcia/if_xe.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pcmcia/if_cnw.c b/sys/dev/pcmcia/if_cnw.c index cd5000e03a3..a17751a6d3b 100644 --- a/sys/dev/pcmcia/if_cnw.c +++ b/sys/dev/pcmcia/if_cnw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cnw.c,v 1.31 2015/06/24 09:40:54 mpi Exp $ */ +/* $OpenBSD: if_cnw.c,v 1.32 2015/07/08 07:21:50 mpi Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -526,7 +526,7 @@ cnw_transmit(sc, m0) mptr += n; mbytes -= n; } - MFREE(m, m0); + m0 = m_free(m); m = m0; } diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c index 12285c9ed6a..c9614908a06 100644 --- a/sys/dev/pcmcia/if_xe.c +++ b/sys/dev/pcmcia/if_xe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xe.c,v 1.51 2015/06/29 10:24:14 dlg Exp $ */ +/* $OpenBSD: if_xe.c,v 1.52 2015/07/08 07:21:50 mpi Exp $ */ /* * Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas @@ -1135,7 +1135,7 @@ xe_start(ifp) if (m->m_len & 1) bus_space_write_1(bst, bsh, offset + EDP, *(mtod(m, u_int8_t *) + m->m_len - 1)); - MFREE(m, m0); + m0 = m_free(m); m = m0; } if (sc->sc_flags & XEF_MOHAWK) |