diff options
author | 2014-05-17 12:43:18 +0000 | |
---|---|---|
committer | 2014-05-17 12:43:18 +0000 | |
commit | ce6fc435007adfd70baffee5f42cd0dbca5b2d20 (patch) | |
tree | d2aa3d844151b2e18fd60e5bda1ba5105ca227e4 | |
parent | fix format mistakes visible if AUICH_DEBUG is defined (diff) | |
download | wireguard-openbsd-ce6fc435007adfd70baffee5f42cd0dbca5b2d20.tar.xz wireguard-openbsd-ce6fc435007adfd70baffee5f42cd0dbca5b2d20.zip |
fix format mistakes visible if UAUDIO_DEBUG is defined
-rw-r--r-- | sys/dev/usb/uaudio.c | 6 |
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; |