Skip to content
Commit 08d1e635 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 2f229a31
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment