summaryrefslogtreecommitdiffstats
path: root/sys/dev/nge
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-05-15 22:19:50 +0000
committerwpaul <wpaul@FreeBSD.org>2001-05-15 22:19:50 +0000
commita0d918e1e9b4c6103a17651082f6677c188d6235 (patch)
tree2e569b5f9c2c6dd85186218575d4d355121039a4 /sys/dev/nge
parent66829999ebdac2064b3560052f7ee6f8cba9b1bc (diff)
downloadFreeBSD-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/dev/nge')
-rw-r--r--sys/dev/nge/if_nge.c2
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;
OpenPOWER on IntegriCloud