summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2014-05-17 12:23:47 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2014-05-17 12:23:47 +0000
commitbf835ce429378dba1ded8f9bfdb0ac2fafa0835a (patch)
treeb52f8fd864dce3c6f1862d9cdfa109035aa457a3 /sys/dev/pci
parent8f27ced473f41969dc21eccecd3d3ef50ed41102 (diff)
unbreak build with AUDIO_DEBUG: use %lx for bus_addr_t
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/envy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/envy.c b/sys/dev/pci/envy.c
index 40e96594f47..bfc8ecd6184 100644
--- a/sys/dev/pci/envy.c
+++ b/sys/dev/pci/envy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: envy.c,v 1.56 2013/05/24 07:58:46 ratchov Exp $ */
+/* $OpenBSD: envy.c,v 1.57 2014/05/17 12:23:46 ratchov Exp $ */
/*
* Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org>
*
@@ -1779,7 +1779,7 @@ envy_allocm(void *self, int dir, size_t size, int type, int flags)
goto err_destroy;
}
dma_addr = buf->map->dm_segs[0].ds_addr;
- DPRINTF("%s: allocated %zd bytes dir=%d, ka=%p, da=%p\n", DEVNAME(sc),
+ DPRINTF("%s: allocated %zd bytes dir=%d, ka=%p, da=%lx\n", DEVNAME(sc),
buf->size, dir, buf->addr, dma_addr);
if (!sc->isht && (dma_addr & ~ENVY_MAXADDR)) {
printf("%s: DMA address beyond 0x10000000\n", DEVNAME(sc));