diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-28 01:59:53 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 1999-01-28 01:59:53 +0000 |
| commit | 0a5e03dda5108aa95d11b714c83217c28a147f6e (patch) | |
| tree | 748e59fc38cfdff420e3cd6c6eb4f4c5af2273e7 /sys/dev/ex | |
| parent | 972a1bcf5db5ee4c5520a1d29d3c81e81bdec84f (diff) | |
Notes
Diffstat (limited to 'sys/dev/ex')
| -rw-r--r-- | sys/dev/ex/if_ex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c index 2508bd735e22..0b689beb5910 100644 --- a/sys/dev/ex/if_ex.c +++ b/sys/dev/ex/if_ex.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ex.c,v 1.12 1998/06/07 17:10:30 dfr Exp $ + * $Id: if_ex.c,v 1.13 1998/10/22 05:58:39 bde Exp $ */ /* @@ -476,7 +476,7 @@ void ex_start(struct ifnet *ifp) outsw(iobase + IO_PORT_REG, tmp16, 1); } outsw(iobase + IO_PORT_REG, mtod(m, caddr_t) + i, (m->m_len - i) / 2); - if (i = (m->m_len - i) & 1) + if ((i = (m->m_len - i) & 1) != 0) tmp16[0] = *(mtod(m, caddr_t) + m->m_len - 1); } if (i) |
