diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-05-26 19:56:32 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-05-26 19:56:32 +0000 |
commit | 479d0413d08a3846d94ba821f18b252e9264e5f8 (patch) | |
tree | d41ee54f463df428677cb6000d3ef817ad946344 /sys/dev/ic/smc90cx6.c | |
parent | 53920d9fa9297910eaac43836f07dcdc9070ba6f (diff) |
use ETHER_ALIGN
Diffstat (limited to 'sys/dev/ic/smc90cx6.c')
-rw-r--r-- | sys/dev/ic/smc90cx6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/smc90cx6.c b/sys/dev/ic/smc90cx6.c index 54af8f8b178..5306648230e 100644 --- a/sys/dev/ic/smc90cx6.c +++ b/sys/dev/ic/smc90cx6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smc90cx6.c,v 1.7 2004/05/12 06:35:10 tedu Exp $ */ +/* $OpenBSD: smc90cx6.c,v 1.8 2004/05/26 19:56:31 brad Exp $ */ /* $NetBSD: smc90cx6.c,v 1.17 1996/05/07 01:43:18 thorpej Exp $ */ /* @@ -595,7 +595,7 @@ bah_start(ifp) * bah_ram_ptr[0*2] = mtod(m, u_char *)[0]; */ bah_ram_ptr[1 * 2] = mtod(m, u_char *)[1]; - m_adj(m, 2); + m_adj(m, ETHER_ALIGN); /* get total length left at this point */ tlen = m->m_pkthdr.len; |