diff options
author | 2014-05-17 12:23:46 +0000 | |
---|---|---|
committer | 2014-05-17 12:23:46 +0000 | |
commit | c4d660031b88c0e087855481a145a38c46345601 (patch) | |
tree | 8619a76933daa9ab3dfb0bee83b48bb17f8a0a0c | |
parent | In pmap_remove_page(), do not keep wired mappings; the callers want them gone. (diff) | |
download | wireguard-openbsd-c4d660031b88c0e087855481a145a38c46345601.tar.xz wireguard-openbsd-c4d660031b88c0e087855481a145a38c46345601.zip |
unbreak build with AUDIO_DEBUG: use %lx for bus_addr_t
-rw-r--r-- | sys/dev/pci/envy.c | 4 |
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)); |