ALSA: usb - Use strlcat() correctly
authorTakashi Iwai <tiwai@suse.de>
Fri, 2 Oct 2009 12:06:08 +0000 (14:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Oct 2009 12:06:08 +0000 (14:06 +0200)
commit08d1e635089f41e28fec644a8620a0e8d66b1235
treed56d44b59fb58df714c762296da438e3fbd9fef2
parent2f229a31aac86ea6911d70ec4c79196ca711d625
ALSA: usb - Use strlcat() correctly

Don't pass the advanced position to strlcat() but just gives the buffer
head position so that the max size limit can be checked correctly.
Introduced a new helper function to standaralize strlcat() calls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbmixer.c