diff options
author | Masanari Iida <standby24x7@gmail.com> | 2014-04-28 00:08:55 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-04-28 06:19:13 -0400 |
commit | af831eef4cbb7b7751d0a9b3adbbf562c6f30cd0 (patch) | |
tree | ed204951b07512898d5e5235d2daab831575fc9c /sound/usb | |
parent | 53403a8013c5523c400987bf43a8c43963127dda (diff) |
ALSA: usb-audio: Fix format string mismatch in mixer.c
Fix format string mismatch in parse_audio_selector_unit().
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c index d40a2850e270..6fe83e4af880 100644 --- a/sound/usb/mixer.c +++ b/sound/usb/mixer.c | |||
@@ -1986,7 +1986,7 @@ static int parse_audio_selector_unit(struct mixer_build *state, int unitid, void | |||
1986 | if (! len && check_input_term(state, desc->baSourceID[i], &iterm) >= 0) | 1986 | if (! len && check_input_term(state, desc->baSourceID[i], &iterm) >= 0) |
1987 | len = get_term_name(state, &iterm, namelist[i], MAX_ITEM_NAME_LEN, 0); | 1987 | len = get_term_name(state, &iterm, namelist[i], MAX_ITEM_NAME_LEN, 0); |
1988 | if (! len) | 1988 | if (! len) |
1989 | sprintf(namelist[i], "Input %d", i); | 1989 | sprintf(namelist[i], "Input %u", i); |
1990 | } | 1990 | } |
1991 | 1991 | ||
1992 | kctl = snd_ctl_new1(&mixer_selectunit_ctl, cval); | 1992 | kctl = snd_ctl_new1(&mixer_selectunit_ctl, cval); |