diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-03-27 11:50:19 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-05-11 16:55:53 +0200 |
commit | 023ff3eee6255390384e050d9daab1490c88edf8 (patch) | |
tree | 225e8295feab27f88839d14cb9aeb6ad9cb64e33 /include/sound/ak4114.h | |
parent | 523f1dce37434a9a6623bf46e7893e2b4b10ac3c (diff) | |
download | lwn-023ff3eee6255390384e050d9daab1490c88edf8.tar.gz lwn-023ff3eee6255390384e050d9daab1490c88edf8.zip |
[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>
Diffstat (limited to 'include/sound/ak4114.h')
0 files changed, 0 insertions, 0 deletions