diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-05-08 00:25:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:15:01 -0700 |
commit | 880afc4d76af452267174b5989943f081c1db2c0 (patch) | |
tree | 87f0638e6a262b89ddde3780f9e66cd0e1fcbc71 /mm/hugetlb.c | |
parent | 6192bd536f96c6a0d969081bc71ae24f9319bfdc (diff) | |
download | linux-3.10-880afc4d76af452267174b5989943f081c1db2c0.tar.gz linux-3.10-880afc4d76af452267174b5989943f081c1db2c0.tar.bz2 linux-3.10-880afc4d76af452267174b5989943f081c1db2c0.zip |
oss: 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: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions