From: Takashi Iwai Date: Wed, 24 Oct 2007 16:18:11 +0000 (+0200) Subject: [ALSA] ad1848 - Fix print format X-Git-Tag: v2.6.25-rc1~1127^2~290 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27ed7ceda58d147dea27cd7443915f140c2665a6;p=linux-2.6 [ALSA] ad1848 - Fix print format Fixed the print format for debug message. Spotted by Matthew Wilcox. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/isa/ad1848/ad1848_lib.c b/sound/isa/ad1848/ad1848_lib.c index a901cd1ee6..9a64035335 100644 --- a/sound/isa/ad1848/ad1848_lib.c +++ b/sound/isa/ad1848/ad1848_lib.c @@ -213,7 +213,7 @@ static void snd_ad1848_mce_down(struct snd_ad1848 *chip) for (timeout = 12000; timeout > 0 && (inb(AD1848P(chip, REGSEL)) & AD1848_INIT); timeout--) udelay(100); - snd_printdd("(1) timeout = %d\n", timeout); + snd_printdd("(1) timeout = %ld\n", timeout); #ifdef CONFIG_SND_DEBUG if (inb(AD1848P(chip, REGSEL)) & AD1848_INIT)