summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2013-08-21 05:21:42 +0000
committerdlg <dlg@openbsd.org>2013-08-21 05:21:42 +0000
commit232dfaf10d4f3245716b49d8b03e631c2ed173fc (patch)
tree62a59231592d31901276623aee3ee90c16c58fcf /sys/arch/sparc
parentuse a single line in usage() and SYNOPSIS and explain in text which (diff)
downloadwireguard-openbsd-232dfaf10d4f3245716b49d8b03e631c2ed173fc.tar.xz
wireguard-openbsd-232dfaf10d4f3245716b49d8b03e631c2ed173fc.zip
get rid of the copy argument in m_devget that let you provide an
alternative to bcopy since noone uses it. while there use memcpy instead of bcopy because we know the memory cannot overlap. ok henning@ matthew@ mikeb@ deraadt@
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/hme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/hme.c b/sys/arch/sparc/dev/hme.c
index fbe9f57f20c..b9dab909d29 100644
--- a/sys/arch/sparc/dev/hme.c
+++ b/sys/arch/sparc/dev/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.62 2009/08/13 17:01:31 phessler Exp $ */
+/* $OpenBSD: hme.c,v 1.63 2013/08/21 05:21:42 dlg Exp $ */
/*
* Copyright (c) 1998 Jason L. Wright (jason@thought.net)
@@ -938,7 +938,7 @@ hme_read(sc, idx, len, flags)
/* Pull packet off interface. */
m = m_devget(sc->sc_bufs->rx_buf[idx] + HME_RX_OFFSET, len,
- HME_RX_OFFSET, &sc->sc_arpcom.ac_if, NULL);
+ HME_RX_OFFSET, &sc->sc_arpcom.ac_if);
if (m == NULL) {
ifp->if_ierrors++;
return;