Fix kernel builds with INVARIANTS.

This commit is contained in:
David E. O'Brien 2005-01-16 02:39:18 +00:00
parent bd1954cc37
commit 7c804097a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140338

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