summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-01-15 20:03:59 +0000
committerscottl <scottl@FreeBSD.org>2005-01-15 20:03:59 +0000
commit0182dc35c3a74b9bf839820bf9c544c579101dc7 (patch)
tree4a1d512ef14ea7afa07f9813502fb2b5641eee14 /sys
parent5c70871d362bd941b1e6925ad7a1fe03e57d0ec4 (diff)
downloadFreeBSD-src-0182dc35c3a74b9bf839820bf9c544c579101dc7.zip
FreeBSD-src-0182dc35c3a74b9bf839820bf9c544c579101dc7.tar.gz
Fix an assignment that I missed in the last commit.
Diffstat (limited to 'sys')
-rw-r--r--sys/ia64/ia64/busdma_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/ia64/busdma_machdep.c b/sys/ia64/ia64/busdma_machdep.c
index 5cd539d..bb7e93e 100644
--- a/sys/ia64/ia64/busdma_machdep.c
+++ b/sys/ia64/ia64/busdma_machdep.c
@@ -717,7 +717,7 @@ bus_dmamap_load_mbuf_sg(bus_dma_tag_t dmat, bus_dmamap_t map,
M_ASSERTPKTHDR(m0);
flags |= BUS_DMA_NOWAIT;
- nsegs = 0;
+ *nsegs = 0;
error = 0;
if (m0->m_pkthdr.len <= dmat->maxsize) {
int first = 1;
OpenPOWER on IntegriCloud