From: ratchov Date: Sat, 17 May 2014 12:23:46 +0000 (+0000) Subject: unbreak build with AUDIO_DEBUG: use %lx for bus_addr_t X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c4d660031b88c0e087855481a145a38c46345601;p=openbsd unbreak build with AUDIO_DEBUG: use %lx for bus_addr_t --- 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 * @@ -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));