summaryrefslogtreecommitdiff
path: root/sys/dev/ic/acx100.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-06-11 18:15:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-06-11 18:15:56 +0000
commit11fcc68fad30620c6ac87dba9b240103f5cbc4e6 (patch)
treea2f7140c0e82286b40dda1a6da540fefba2e3cf9 /sys/dev/ic/acx100.c
parent053f2c9694efd78cad0fb364e18939d590655719 (diff)
Replace all ovbcopy with memmove; swap the src and dst arguments too
ok otto
Diffstat (limited to 'sys/dev/ic/acx100.c')
-rw-r--r--sys/dev/ic/acx100.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/acx100.c b/sys/dev/ic/acx100.c
index ebf156781ab..bfa52bda446 100644
--- a/sys/dev/ic/acx100.c
+++ b/sys/dev/ic/acx100.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acx100.c,v 1.22 2012/10/27 16:13:28 claudio Exp $ */
+/* $OpenBSD: acx100.c,v 1.23 2013/06/11 18:15:53 deraadt Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -732,7 +732,7 @@ acx100_proc_wep_rxbuf(struct acx_softc *sc, struct mbuf *m, int *len)
*len = *len - IEEEWEP_EXLEN;
/* Move MAC header toward frame body */
- ovbcopy(f, (uint8_t *)f + IEEEWEP_IVLEN, mac_hdrlen);
+ memmove((uint8_t *)f + IEEEWEP_IVLEN, f, mac_hdrlen);
m_adj(m, IEEEWEP_IVLEN);
#undef IEEEWEP_EXLEN