Fix format string mismatch in parse_audio_selector_unit().

Signed-off-by: Masanari Iida <[email protected]>
---
 sound/usb/mixer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index d40a285..6fe83e4 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
                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);
-- 
2.0.0.rc1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to