summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2014-05-17 12:43:19 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2014-05-17 12:43:19 +0000
commit60ca73ea19a66b5c3961ca63c7d96524a74fc4f1 (patch)
treee745ae25d79332b71a887139f2895bd14f47bfe5 /sys
parent566b4ad805c772ab037986c120d903884ef18b51 (diff)
fix format mistakes visible if UAUDIO_DEBUG is defined
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/uaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uaudio.c b/sys/dev/usb/uaudio.c
index 28e35d30979..35050769cc4 100644
--- a/sys/dev/usb/uaudio.c
+++ b/sys/dev/usb/uaudio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uaudio.c,v 1.101 2013/11/06 16:13:42 pirofti Exp $ */
+/* $OpenBSD: uaudio.c,v 1.102 2014/05/17 12:43:18 ratchov Exp $ */
/* $NetBSD: uaudio.c,v 1.90 2004/10/29 17:12:53 kent Exp $ */
/*
@@ -3361,7 +3361,7 @@ uaudio_match_alt(void *addr, struct audio_params *p, int mode)
int i, j, dir, rate;
int alts_eh, alts_ch, ualt;
- DPRINTF(("%s: mode=%s rate=%d ch=%d pre=%d bps=%d enc=%d\n",
+ DPRINTF(("%s: mode=%s rate=%ld ch=%d pre=%d bps=%d enc=%d\n",
__func__, mode == AUMODE_RECORD ? "rec" : "play", p->sample_rate,
p->channels, p->precision, p->bps, p->encoding));
@@ -3422,7 +3422,7 @@ uaudio_match_alt(void *addr, struct audio_params *p, int mode)
rate = uaudio_match_alt_rate(sc, i, p->sample_rate);
if (rate - 50 <= p->sample_rate &&
rate + 50 >= p->sample_rate) {
- DPRINTFN(6,("%s: alt %d matched rate %d with %d\n",
+ DPRINTFN(6,("%s: alt %d matched rate %ld with %d\n",
__func__, i, p->sample_rate, rate));
p->sample_rate = rate;
break;