From: Jean Delvare Date: Tue, 27 Mar 2007 05:47:22 +0000 (-0800) Subject: strlcpy is smart enough X-Git-Tag: v2.6.22-rc1~1110^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eccccb36223be5271b550a9ba4722a1e72c9312;p=pandora-kernel.git 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 Cc: Jan-Bernd Themann Cc: Thomas Klein Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed