From 970b7d8ee02566ec6818164f892bab2cda5a6eaf Mon Sep 17 00:00:00 2001 From: obrien Date: Sun, 16 Jan 2005 02:39:18 +0000 Subject: Fix kernel builds with INVARIANTS. --- sys/dev/hme/if_hme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c index 60bd26a..6a30b46 100644 --- a/sys/dev/hme/if_hme.c +++ b/sys/dev/hme/if_hme.c @@ -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); -- cgit v1.1