From: Jean Delvare Date: Tue, 8 May 2007 07:25:42 +0000 (-0700) Subject: oss: strlcpy is smart enough X-Git-Tag: v2.6.22-rc1~760 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=880afc4d76af452267174b5989943f081c1db2c0;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed