Re: [patch 03/10] strlcpy is smart enough
From: Jeff Garzik <hidden>
Date: 2007-03-29 12:19:18
From: Jeff Garzik <hidden>
Date: 2007-03-29 12:19:18
akpm@linux-foundation.org wrote:
From: Jean Delvare <redacted> 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 <redacted> Cc: Jan-Bernd Themann <redacted> Cc: Thomas Klein <redacted> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> --- drivers/net/ehea/ehea_ethtool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
applied 3-5