From: deraadt Date: Wed, 16 Jul 2014 10:45:46 +0000 (+0000) Subject: the scan for transforming free(...) to (free..., 0) failed becuase this X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c0ae9edc74746b2b4e38ea8218bce8e469b9ef76;p=openbsd the scan for transforming free(...) to (free..., 0) failed becuase this file has 'free (' :-/ --- diff --git a/sys/arch/socppc/dev/if_tsec.c b/sys/arch/socppc/dev/if_tsec.c index b9053b73c2e..e29551519f4 100644 --- a/sys/arch/socppc/dev/if_tsec.c +++ b/sys/arch/socppc/dev/if_tsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tsec.c,v 1.31 2014/07/12 18:44:42 tedu Exp $ */ +/* $OpenBSD: if_tsec.c,v 1.32 2014/07/16 10:45:46 deraadt Exp $ */ /* * Copyright (c) 2008 Mark Kettenis @@ -1063,7 +1063,7 @@ tsec_down(struct tsec_softc *sc) } tsec_dmamem_free(sc, sc->sc_txring); - free (sc->sc_txbuf, M_DEVBUF); + free(sc->sc_txbuf, M_DEVBUF, 0); for (i = 0; i < TSEC_NRXDESC; i++) { rxb = &sc->sc_rxbuf[i];