]> err.no Git - linux-2.6/commit
[S390] strlcpy is smart enough
authorJean Delvare <khali@linux-fr.org>
Mon, 19 Mar 2007 12:18:53 +0000 (13:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 19 Mar 2007 12:18:53 +0000 (13:18 +0100)
commit20cb9e79b963b8f5142e4dd946baf44a75e7935f
tree50a4df05a6b6783652637ac0f534a60a2c5092ea
parent257c6e1ce8f875dd02220e90cf38e615e47788fe
[S390] 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: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/debug.c