summaryrefslogtreecommitdiff
path: root/sys/netipx
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-27 03:49:56 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-06-27 03:49:56 +0000
commit5a60def576e7a9fc33be3c2ce84e9c5a4ea87acf (patch)
treeeec94d4164616ff7c03e306b4723bda222307b2f /sys/netipx
parentcc7d393f894b86439bc3d6e082a11123747a46bd (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/netipx')
-rw-r--r--sys/netipx/spx_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c
index 3b70328ebde..9225bb3680a 100644
--- a/sys/netipx/spx_usrreq.c
+++ b/sys/netipx/spx_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spx_usrreq.c,v 1.15 2001/06/25 01:50:17 fgsch Exp $ */
+/* $OpenBSD: spx_usrreq.c,v 1.16 2001/06/27 03:49:54 angelos Exp $ */
/*-
*
@@ -798,7 +798,7 @@ spx_output(cb, m0)
* Fill in mbuf with extended SP header
* and addresses and length put into network format.
*/
- M_COPY_HDR(m, m0);
+ M_MOVE_HDR(m, m0);
MH_ALIGN(m, sizeof(struct spx));
m->m_len = sizeof(struct spx);
m->m_next = m0;