MFC: Fix an off by one error in struct nve_tx_desc's frags[] array.

This commit is contained in:
jhb 2006-12-07 22:26:18 +00:00
parent 0b480cb83a
commit 4653d91839

View File

@ -106,7 +106,7 @@ struct nve_tx_desc {
struct nve_map_buffer buf;
u_int16_t buflength;
u_int32_t numfrags;
bus_dma_segment_t frags[NV_MAX_FRAGS + 1];
bus_dma_segment_t frags[NV_MAX_FRAGS];
};
struct nve_softc {