]> err.no Git - linux-2.6/commit
[PATCH] s2io: change strncpy length arg to use size of target
authorJohn W. Linville <linville@tuxdriver.com>
Wed, 28 Sep 2005 21:50:51 +0000 (17:50 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 4 Oct 2005 11:49:12 +0000 (07:49 -0400)
commitdbc2309d90b59fbb2676dc2e39150aa095e8c222
tree9d17c84d17c5a46e38fa07fef518f955c9944b5b
parent53232803241ae0f26b39897a4d4b37775837de00
[PATCH] s2io: change strncpy length arg to use size of target

Use the size of the target array for the length argument to strncpy
instead of the size of the source or a magic number.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/s2io.c