diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-27 03:49:56 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-27 03:49:56 +0000 |
commit | 5a60def576e7a9fc33be3c2ce84e9c5a4ea87acf (patch) | |
tree | eec94d4164616ff7c03e306b4723bda222307b2f /sys/dev/ic/awi.c | |
parent | cc7d393f894b86439bc3d6e082a11123747a46bd (diff) |
Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, depending
on how macros should be treated. Code by fgsch@, ok by me and itojun@
Diffstat (limited to 'sys/dev/ic/awi.c')
-rw-r--r-- | sys/dev/ic/awi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/awi.c b/sys/dev/ic/awi.c index 7ba40766759..af0ba52df5d 100644 --- a/sys/dev/ic/awi.c +++ b/sys/dev/ic/awi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: awi.c,v 1.6 2001/06/24 04:31:06 fgsch Exp $ */ +/* $OpenBSD: awi.c,v 1.7 2001/06/27 03:49:52 angelos Exp $ */ /* $NetBSD: awi.c,v 1.26 2000/07/21 04:48:55 onoe Exp $ */ /*- @@ -1176,7 +1176,7 @@ awi_fix_rxhdr(sc, m0) m_freem(m0); return NULL; } - M_COPY_PKTHDR(n, m0); + M_MOVE_PKTHDR(n, m0); n->m_len = MHLEN; } else { MGET(n, M_DONTWAIT, MT_DATA); |