Fix kernel builds with INVARIANTS.

This commit is contained in:
obrien 2005-01-16 02:39:18 +00:00
parent 53c61ef1be
commit 970b7d8ee0

View File

@ -542,7 +542,7 @@ hme_add_rxbuf(struct hme_softc *sc, unsigned int ri, int keepold)
return (ENOBUFS);
}
/* If nsegs is wrong then the stack is corrupt */
KASSERT(nsegs == 1, "Too many segments returned!");
KASSERT(nsegs == 1, ("Too many segments returned!"));
if (unmap) {
bus_dmamap_sync(sc->sc_rdmatag, rd->hrx_dmamap,
BUS_DMASYNC_POSTREAD);