diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-05-15 22:19:50 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-05-15 22:19:50 +0000 |
commit | a0d918e1e9b4c6103a17651082f6677c188d6235 (patch) | |
tree | 2e569b5f9c2c6dd85186218575d4d355121039a4 /sys | |
parent | 66829999ebdac2064b3560052f7ee6f8cba9b1bc (diff) | |
download | FreeBSD-src-a0d918e1e9b4c6103a17651082f6677c188d6235.zip FreeBSD-src-a0d918e1e9b4c6103a17651082f6677c188d6235.tar.gz |
Fix instance of (struct ti_softc *) that should have been
(struct nge_softc *), which the compiler never complained about.
I guess it doesn't matter, a pointer is a pointer, but looked weird
to me.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/nge/if_nge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c index 5f292b7..49c49d4 100644 --- a/sys/dev/nge/if_nge.c +++ b/sys/dev/nge/if_nge.c @@ -1088,7 +1088,7 @@ static int nge_newbuf(sc, c, m) m_new->m_data = (void *)buf; m_new->m_len = m_new->m_pkthdr.len = NGE_MCLBYTES; MEXTADD(m_new, buf, NGE_MCLBYTES, nge_jfree, - (struct ti_softc *)sc, 0, EXT_NET_DRV); + (struct nge_softc *)sc, 0, EXT_NET_DRV); } else { m_new = m; m_new->m_len = m_new->m_pkthdr.len = NGE_MCLBYTES; |