diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1996-06-08 08:19:03 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1996-06-08 08:19:03 +0000 |
| commit | 0453d3cbb393fe51c233cd70dc1b520cc0d3ef8c (patch) | |
| tree | 3b9bca5073ac6e148e368b3f541dea769969481d /sys/net/bpf.c | |
| parent | 5e0fc49ea89ccdb1c9fee18eef7f544b9c57d488 (diff) | |
Notes
Diffstat (limited to 'sys/net/bpf.c')
| -rw-r--r-- | sys/net/bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c index e903b684bb41..c335ea07f65d 100644 --- a/sys/net/bpf.c +++ b/sys/net/bpf.c @@ -37,7 +37,7 @@ * * @(#)bpf.c 8.2 (Berkeley) 3/28/94 * - * $Id: bpf.c,v 1.24 1996/04/07 17:32:23 bde Exp $ + * $Id: bpf.c,v 1.25 1996/06/08 06:12:58 davidg Exp $ */ #include "bpfilter.h" @@ -1100,7 +1100,7 @@ bpf_mcopy(src_arg, dst_arg, len) if (m == 0) panic("bpf_mcopy"); count = min(m->m_len, len); - (void)memcpy((caddr_t)dst, mtod(m, caddr_t), count); + bcopy(mtod(m, void *), dst, count); m = m->m_next; dst += count; len -= count; |
