commit | 023ff3eee6255390384e050d9daab1490c88edf8 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Tue Mar 27 11:50:19 2007 +0200 |
committer | Jaroslav Kysela <perex@suse.cz> | Fri May 11 16:55:53 2007 +0200 |
tree | 225e8295feab27f88839d14cb9aeb6ad9cb64e33 | |
parent | 523f1dce37434a9a6623bf46e7893e2b4b10ac3c [diff] |
[ALSA] sound: strlcpy is smart enough strlcpy already accounts for the trailing zero in its length computation, so there is no need to substract one to the buffer size. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>