artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1647f9e
)
the scan for transforming free(...) to (free..., 0) failed becuase this
author
deraadt
<deraadt@openbsd.org>
Wed, 16 Jul 2014 10:45:46 +0000
(10:45 +0000)
committer
deraadt
<deraadt@openbsd.org>
Wed, 16 Jul 2014 10:45:46 +0000
(10:45 +0000)
file has 'free ('
:-/
sys/arch/socppc/dev/if_tsec.c
patch
|
blob
|
history
diff --git
a/sys/arch/socppc/dev/if_tsec.c
b/sys/arch/socppc/dev/if_tsec.c
index
b9053b7
..
e295515
100644
(file)
--- 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.3
1 2014/07/12 18:44:42 tedu Exp $
*/
+/* $OpenBSD: if_tsec.c,v 1.3
2 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];