commit | 20cb9e79b963b8f5142e4dd946baf44a75e7935f | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Mon Mar 19 13:18:53 2007 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Mon Mar 19 13:18:53 2007 +0100 |
tree | 50a4df05a6b6783652637ac0f534a60a2c5092ea | |
parent | 257c6e1ce8f875dd02220e90cf38e615e47788fe [diff] |
[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>