]> err.no Git - linux-2.6/commitdiff
[ALSA] ad1848 - Fix print format
authorTakashi Iwai <tiwai@suse.de>
Wed, 24 Oct 2007 16:18:11 +0000 (18:18 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:10 +0000 (17:29 +0100)
Fixed the print format for debug message.
Spotted by Matthew Wilcox.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/isa/ad1848/ad1848_lib.c

index a901cd1ee692474316cd7bf5ff34d926e3578a83..9a640353350a2caa5924f021616cbce29d6bd28f 100644 (file)
@@ -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)