projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53403a8
)
ALSA: usb-audio: Fix format string mismatch in mixer.c
author
Masanari Iida
<standby24x7@gmail.com>
Mon, 28 Apr 2014 04:08:55 +0000
(13:08 +0900)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 28 Apr 2014 10:19:13 +0000
(12:19 +0200)
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>
sound/usb/mixer.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/usb/mixer.c
b/sound/usb/mixer.c
index d40a2850e2709f3a60100f707eb650a398fb73f3..6fe83e4af8806cc7c94c00e3e9c9da4c88cd0387 100644
(file)
--- 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
if (! len && check_input_term(state, desc->baSourceID[i], &iterm) >= 0)
len = get_term_name(state, &iterm, namelist[i], MAX_ITEM_NAME_LEN, 0);
if (! len)
- sprintf(namelist[i], "Input %
d
", i);
+ sprintf(namelist[i], "Input %
u
", i);
}
kctl = snd_ctl_new1(&mixer_selectunit_ctl, cval);