1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Fix an assignment that I missed in the last commit.

This commit is contained in:
Scott Long 2005-01-15 20:03:59 +00:00
parent 9751303e1c
commit a9e9b7e47b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140315

View File

@ -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;