diff options
| author | xtraeme <xtraeme@NetBSD.org> | 2007-03-21 03:22:16 +0000 |
|---|---|---|
| committer | xtraeme <xtraeme@NetBSD.org> | 2007-03-21 03:22:16 +0000 |
| commit | feef686ef0d986dda7b97ee2faa38d0dc91dd2cb (patch) | |
| tree | 16940c48b4126f974644e90f9e2be58642f6a9ca /sys/dev/drm | |
| parent | be7bb25d74721b8f9e59e24390e472881fab85a5 (diff) | |
Fix previous, use %zd.
Diffstat (limited to 'sys/dev/drm')
| -rw-r--r-- | sys/dev/drm/drm_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/drm/drm_pci.c b/sys/dev/drm/drm_pci.c index a9f37ff55ab..05ada44c158 100644 --- a/sys/dev/drm/drm_pci.c +++ b/sys/dev/drm/drm_pci.c @@ -109,13 +109,13 @@ drm_pci_alloc(drm_device_t *dev, size_t size, size_t align, dma_addr_t maxaddr) ret = bus_dmamem_alloc(dev->pa.pa_dmat, size, align, size, &dmah->seg, 1, &nsegs, BUS_DMA_NOWAIT); if (ret != 0) { - aprint_error("%s: bus_dmamem_alloc(%d, %d) returned %d\n", + aprint_error("%s: bus_dmamem_alloc(%zd, %zd) returned %d\n", __func__, size, align, ret); free(dmah, M_DRM); return NULL; } if(nsegs != 1) { - aprint_error("%s: bus_dmamem_alloc(%d) returned %d segments\n", + aprint_error("%s: bus_dmamem_alloc(%zd) returned %d segments\n", __func__, size, nsegs); bus_dmamem_free(dev->pa.pa_dmat, &dmah->seg, nsegs); free(dmah, M_DRM); |
