aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fe/if_fe.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2017-02-20 03:43:12 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2017-02-20 03:43:12 +0000
commit4d24901ac9131267fd188c5e1ee19a219847238a (patch)
treec6b56412f6ca4e7ffd1dc366d2fc51f7fa34600f /sys/dev/fe/if_fe.c
parent85161825cf4af1294d9464badbe675a1419bd4fd (diff)
Notes
Diffstat (limited to 'sys/dev/fe/if_fe.c')
-rw-r--r--sys/dev/fe/if_fe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c
index e4a46011a9a3..94b83be3f9e8 100644
--- a/sys/dev/fe/if_fe.c
+++ b/sys/dev/fe/if_fe.c
@@ -2002,7 +2002,7 @@ fe_write_mbufs (struct fe_softc *sc, struct mbuf *m)
if ((sc->proto_dlcr6 & FE_D6_SBW) == FE_D6_SBW_BYTE)
{
/* 8-bit cards are easy. */
- for (mp = m; mp != 0; mp = mp->m_next) {
+ for (mp = m; mp != NULL; mp = mp->m_next) {
if (mp->m_len)
fe_outsb(sc, FE_BMPR8, mtod(mp, caddr_t),
mp->m_len);
@@ -2012,7 +2012,7 @@ fe_write_mbufs (struct fe_softc *sc, struct mbuf *m)
{
/* 16-bit cards are a pain. */
savebyte = NO_PENDING_BYTE;
- for (mp = m; mp != 0; mp = mp->m_next) {
+ for (mp = m; mp != NULL; mp = mp->m_next) {
/* Ignore empty mbuf. */
len = mp->m_len;