diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-10-11 10:20:32 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-10-11 10:20:32 +0000 |
commit | f3094e416d84aed0e81ae1298a8659f816f037e3 (patch) | |
tree | f07201bea16ecb2c8d4ae365cb9a6547a3ff6a14 /sys/dev/ic/pgt.c | |
parent | 9feeeb468e85d81fe9471e6c10ca22189ee33bae (diff) |
Use correct arguments in printfs. OK mglocker@
Diffstat (limited to 'sys/dev/ic/pgt.c')
-rw-r--r-- | sys/dev/ic/pgt.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/pgt.c b/sys/dev/ic/pgt.c index 00cfc8828ca..0369d13a7d1 100644 --- a/sys/dev/ic/pgt.c +++ b/sys/dev/ic/pgt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pgt.c,v 1.33 2006/10/09 21:09:40 mglocker Exp $ */ +/* $OpenBSD: pgt.c,v 1.34 2006/10/11 10:20:31 claudio Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -3200,7 +3200,7 @@ pgt_dma_alloc_queue(struct pgt_softc *sc, enum pgt_queue pq) PGT_FRAG_SIZE, 0, BUS_DMA_ALLOCNOW, &pd->pd_dmam); if (error != 0) { printf("%s: can not create DMA tag for fragment\n", - sc->sc_dev); + sc->sc_dev.dv_xname); break; } @@ -3208,7 +3208,7 @@ pgt_dma_alloc_queue(struct pgt_softc *sc, enum pgt_queue pq) 0, &pd->pd_dmas, 1, &nsegs, BUS_DMA_WAITOK); if (error != 0) { printf("%s: error alloc frag %u on queue %u\n", - sc->sc_dev, i, pq, error); + sc->sc_dev.dv_xname, i, pq); free(pd, M_DEVBUF); break; } @@ -3217,7 +3217,7 @@ pgt_dma_alloc_queue(struct pgt_softc *sc, enum pgt_queue pq) PGT_FRAG_SIZE, (caddr_t *)&pd->pd_mem, BUS_DMA_WAITOK); if (error != 0) { printf("%s: error map frag %u on queue %u\n", - sc->sc_dev, i, pq); + sc->sc_dev.dv_xname, i, pq); free(pd, M_DEVBUF); break; } @@ -3227,7 +3227,7 @@ pgt_dma_alloc_queue(struct pgt_softc *sc, enum pgt_queue pq) pd->pd_mem, PGT_FRAG_SIZE, NULL, BUS_DMA_NOWAIT); if (error != 0) { printf("%s: error load frag %u on queue %u\n", - sc->sc_dev, i, pq); + sc->sc_dev.dv_xname, i, pq); bus_dmamem_free(sc->sc_dmat, &pd->pd_dmas, nsegs); free(pd, M_DEVBUF); |