mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
Fix kernel builds with INVARIANTS.
This commit is contained in:
parent
bd1954cc37
commit
7c804097a4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140338
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue