git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee17b36
)
xtensa: strlcpy is smart enough
author
Jean Delvare
<khali@linux-fr.org>
Sun, 6 May 2007 21:51:54 +0000
(14:51 -0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:04 +0000
(12:13 -0700)
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>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
No differences found