From c0ae9edc74746b2b4e38ea8218bce8e469b9ef76 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 16 Jul 2014 10:45:46 +0000 Subject: [PATCH] the scan for transforming free(...) to (free..., 0) failed becuase this file has 'free (' :-/ --- sys/arch/socppc/dev/if_tsec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.20.1