diff options
author | bde <bde@FreeBSD.org> | 1998-07-13 09:53:11 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-13 09:53:11 +0000 |
commit | 925110cd2319780c323091d214a7840895264611 (patch) | |
tree | 0b6db913180c8c762bccb935c7f679792b4a731f /sys/dev/tx | |
parent | 8b9760c8843815ead46a252ff5760ee566fa9f0e (diff) | |
download | FreeBSD-src-925110cd2319780c323091d214a7840895264611.zip FreeBSD-src-925110cd2319780c323091d214a7840895264611.tar.gz |
Fixed printf format errors (only 1 left in GENERIC now).
Diffstat (limited to 'sys/dev/tx')
-rw-r--r-- | sys/dev/tx/if_tx.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c index 74dd0e1..ca4d282 100644 --- a/sys/dev/tx/if_tx.c +++ b/sys/dev/tx/if_tx.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_tx.c,v 1.32 1998/07/03 23:59:09 galv Exp $ + * $Id: if_tx.c,v 1.13 1998/07/04 08:02:46 semenu Exp $ * */ @@ -1513,13 +1513,14 @@ epic_dump_state __P(( printf("\ntx%d: dumping tx descriptors",sc->unit); for(j=0;j<TX_RING_SIZE;j++){ tdesc = sc->tx_desc + j; - printf("\ndesc%d: %4d 0x%04x, 0x%08x, 0x%04x %4d, 0x%08x, mbuf: 0x%08x", + printf( + "\ndesc%d: %4d 0x%04x, 0x%08lx, 0x%04x %4u, 0x%08lx, mbuf: %p", j, tdesc->txlength,tdesc->status, - tdesc->bufaddr, + (u_long)tdesc->bufaddr, tdesc->control,tdesc->buflength, - tdesc->next, - sc->tx_buffer[j].mbuf + (u_long)tdesc->next, + (void *)sc->tx_buffer[j].mbuf ); } } |