diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-05-15 15:38:20 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-05-15 15:38:20 +0200 |
commit | a3d2b755c0e8f301c079d8aa5a761622259400fe (patch) | |
tree | 5c26f7617ac49addcdc65e27f97f218495ac6b3e /sound/drivers/pcsp/pcsp_mixer.c | |
parent | bbb2b6829d2afa4cfc58f7c321b2c3aaa7f4835e (diff) | |
parent | 5a641bcd6398841cc4606b0a732d41a09256fd94 (diff) |
Merge branch 'fix/misc' into for-linus
* fix/misc:
ALSA: pcsp: fix printk format warning
ALSA: riptide: postfix increment and off by one
Diffstat (limited to 'sound/drivers/pcsp/pcsp_mixer.c')
-rw-r--r-- | sound/drivers/pcsp/pcsp_mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/pcsp/pcsp_mixer.c b/sound/drivers/pcsp/pcsp_mixer.c index caeb0f57fcc..771955a9be7 100644 --- a/sound/drivers/pcsp/pcsp_mixer.c +++ b/sound/drivers/pcsp/pcsp_mixer.c @@ -50,7 +50,7 @@ static int pcsp_treble_info(struct snd_kcontrol *kcontrol, uinfo->value.enumerated.items = chip->max_treble + 1; if (uinfo->value.enumerated.item > chip->max_treble) uinfo->value.enumerated.item = chip->max_treble; - sprintf(uinfo->value.enumerated.name, "%d", + sprintf(uinfo->value.enumerated.name, "%lu", PCSP_CALC_RATE(uinfo->value.enumerated.item)); return 0; } |