summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-05-13 19:51:40 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-05-13 19:51:40 +0000
commit2b930fb45e634dabad39b5fb7ac36ab1cbf20d37 (patch)
tree88a36419e6b001d29707572ae528492ababc255f
parentef6dca71f7ca61dee0607a3bbe0921df562c0c61 (diff)
Unbreak build when AUDIO_DEBUG is defined: fix printf(9) format
mistakes.
-rw-r--r--sys/dev/pci/maestro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/maestro.c b/sys/dev/pci/maestro.c
index 54434d5ac10..e2247374ae1 100644
--- a/sys/dev/pci/maestro.c
+++ b/sys/dev/pci/maestro.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: maestro.c,v 1.39 2015/05/11 06:46:22 ratchov Exp $ */
+/* $OpenBSD: maestro.c,v 1.40 2016/05/13 19:51:39 ratchov Exp $ */
/* $FreeBSD: /c/ncvs/src/sys/dev/sound/pci/maestro.c,v 1.3 2000/11/21 12:22:11 julian Exp $ */
/*
* FreeBSD's ESS Agogo/Maestro driver
@@ -1238,7 +1238,7 @@ maestro_trigger_output(void *hdl, void *start, void *end, int blksize,
mtx_enter(&audio_lock);
sc->play.mode |= MAESTRO_RUNNING;
sc->play.wpwa = APU_USE_SYSMEM | (offset >> 8);
- DPRINTF(("maestro_trigger_output: start=%x, end=%x, blksize=%x ",
+ DPRINTF(("maestro_trigger_output: start=%p, end=%p, blksize=%x ",
start, end, blksize));
DPRINTF(("offset = %x, size=%x\n", offset, size));